net-fs/novell-novfs: Delete old versions

This commit is contained in:
geos_one 2008-01-26 22:19:35 +00:00
parent a803148160
commit b277a3a3ac
34 changed files with 26 additions and 34981 deletions

View File

@ -2,6 +2,28 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
26 Jan 2008; Mario Fetka <mario-fetka@gmx.at>
-files/novell-novfs-1.2.0-dentry.patch,
-files/novell-novfs-1.2.0-dont_use_tasklist_lock.patch,
-files/novell-novfs-1.2.0-getsb.patch,
-files/novell-novfs-1.2.0-getsb-fix.patch,
-files/novell-novfs-1.2.0-license.patch,
-files/novell-novfs-1.2.0_to_2.0.0.patch,
-files/novell-novfs-2.0.0-2_6_15-compat.patch,
-files/novell-novfs-2.0.0-config_h.patch,
-files/novell-novfs-2.0.0-dont_use_tasklist_lock.patch,
-files/novell-novfs-2.0.0-generic_file_read.patch,
-files/novell-novfs-2.0.0-i_blksize.patch,
-files/novell-novfs-2.0.0-u.generic_ip.patch,
-files/novell-novfs-2.0.0_p16-vfs.patch,
-files/novell-novfs-2.0.0_p20-vfs.patch,
-novell-novfs-1.2.0_p17-r2.ebuild, -novell-novfs-2.0.0_p2-r1.ebuild,
-novell-novfs-2.0.0_p16.ebuild, -novell-novfs-2.0.0_p20.ebuild,
-novell-novfs-2.0.0_p21.ebuild, -novell-novfs-2.0.0_p22.ebuild,
-novell-novfs-2.0.0_p22-r1.ebuild, -novell-novfs-2.0.0_p23.ebuild,
-novell-novfs-2.0.0_p23-r1.ebuild:
Delete old versions
26 Jan 2008; Mario Fetka <mario-fetka@gmx.at> 26 Jan 2008; Mario Fetka <mario-fetka@gmx.at>
files/novell-novfs-2.0.0-vfs.patch, +novell-novfs-2.0.0_p23-r2.ebuild: files/novell-novfs-2.0.0-vfs.patch, +novell-novfs-2.0.0_p23-r2.ebuild:
Correct patch Correct patch

View File

@ -1,148 +1,24 @@
AUX novell-novfs-1.2.0-dentry.patch 852 RMD160 4c92b94cc7fb30113e6ee33277425f214d371440 SHA1 86b7c066b3911cf742b948d9ccd22ed647142765 SHA256 4e434ecd6948ec1f3eef339f00674f25ebe23f730e17ec24c56fb1a9c03edd9c
MD5 754b1ae21b5ecea0870ee8868a3f9f15 files/novell-novfs-1.2.0-dentry.patch 852
RMD160 4c92b94cc7fb30113e6ee33277425f214d371440 files/novell-novfs-1.2.0-dentry.patch 852
SHA256 4e434ecd6948ec1f3eef339f00674f25ebe23f730e17ec24c56fb1a9c03edd9c files/novell-novfs-1.2.0-dentry.patch 852
AUX novell-novfs-1.2.0-dont_use_tasklist_lock.patch 701 RMD160 094e93515b6a81f53e24fbe10f004c7bae9a904a SHA1 66ec260a0a234f18c09207207e5bfd52ee10e5cf SHA256 7ed7f3e3f5df515fa0fe9afef1dbe8ad92dfe113c9d2ecab9e51ca41a7658ca7
MD5 7449d36b869699eececd3b8bc7357a97 files/novell-novfs-1.2.0-dont_use_tasklist_lock.patch 701
RMD160 094e93515b6a81f53e24fbe10f004c7bae9a904a files/novell-novfs-1.2.0-dont_use_tasklist_lock.patch 701
SHA256 7ed7f3e3f5df515fa0fe9afef1dbe8ad92dfe113c9d2ecab9e51ca41a7658ca7 files/novell-novfs-1.2.0-dont_use_tasklist_lock.patch 701
AUX novell-novfs-1.2.0-getsb-fix.patch 3606 RMD160 c0d9c72890fe6d57876ce8036e30fed166bef219 SHA1 1c310bb9dcc74d4051d47657fb01ccb99efd8897 SHA256 ad558d8fc4d19f61b7bf68052733e71c0b83743c01d7b8f9ae0d32c2824a7be1
MD5 084ca881c6014536ce1339e27ccd2d7a files/novell-novfs-1.2.0-getsb-fix.patch 3606
RMD160 c0d9c72890fe6d57876ce8036e30fed166bef219 files/novell-novfs-1.2.0-getsb-fix.patch 3606
SHA256 ad558d8fc4d19f61b7bf68052733e71c0b83743c01d7b8f9ae0d32c2824a7be1 files/novell-novfs-1.2.0-getsb-fix.patch 3606
AUX novell-novfs-1.2.0-getsb.patch 4993 RMD160 73e06868eff0d7ae06a773d4a55be51690ca20e0 SHA1 e9103ad09921bb516322ba62014e4eb114294379 SHA256 008738c15bf0af35084387c3f7852cc47db72fa2df3af3486f7ef710751beaf8
MD5 4b7233a93e7023f55fd0151f139b6410 files/novell-novfs-1.2.0-getsb.patch 4993
RMD160 73e06868eff0d7ae06a773d4a55be51690ca20e0 files/novell-novfs-1.2.0-getsb.patch 4993
SHA256 008738c15bf0af35084387c3f7852cc47db72fa2df3af3486f7ef710751beaf8 files/novell-novfs-1.2.0-getsb.patch 4993
AUX novell-novfs-1.2.0-license.patch 18620 RMD160 0685ae1d2fe1b88872f83aac50dd545a90ec0bc3 SHA1 96f47c93cd19688ef40a09c13b162ecd44e25deb SHA256 e6e2c5c13b3f4fb6225532d53c1de264d6d3994fe86277b6ab15b4910c140c35
MD5 9e1367517129a2381c4b29ba27f32052 files/novell-novfs-1.2.0-license.patch 18620
RMD160 0685ae1d2fe1b88872f83aac50dd545a90ec0bc3 files/novell-novfs-1.2.0-license.patch 18620
SHA256 e6e2c5c13b3f4fb6225532d53c1de264d6d3994fe86277b6ab15b4910c140c35 files/novell-novfs-1.2.0-license.patch 18620
AUX novell-novfs-1.2.0_to_2.0.0.patch 934748 RMD160 83cf2e11354171acc045b3571e08654e082833fc SHA1 f6982ddf4f018baaeafbc5f19457b5ed52817643 SHA256 5a53ea406ac75848301a2d4d2e6f64a2610e1be5901de7638cdac18fb1db4667
MD5 e835b754e6295e6c912284f19a53fa1e files/novell-novfs-1.2.0_to_2.0.0.patch 934748
RMD160 83cf2e11354171acc045b3571e08654e082833fc files/novell-novfs-1.2.0_to_2.0.0.patch 934748
SHA256 5a53ea406ac75848301a2d4d2e6f64a2610e1be5901de7638cdac18fb1db4667 files/novell-novfs-1.2.0_to_2.0.0.patch 934748
AUX novell-novfs-2.0.0-2_6_15-compat.patch 1076 RMD160 57db9103b3fffb4185fc1a979ecd85e63c6f56f3 SHA1 a6856987f3290baae804cbd24e6dfc05ec10b584 SHA256 79e055c4a0a2b9cf7e5e4d3ef2744af680a322ed4189831b53e497cc836faa5b
MD5 e44ee72f6d2f79b1d8978d422b43dad2 files/novell-novfs-2.0.0-2_6_15-compat.patch 1076
RMD160 57db9103b3fffb4185fc1a979ecd85e63c6f56f3 files/novell-novfs-2.0.0-2_6_15-compat.patch 1076
SHA256 79e055c4a0a2b9cf7e5e4d3ef2744af680a322ed4189831b53e497cc836faa5b files/novell-novfs-2.0.0-2_6_15-compat.patch 1076
AUX novell-novfs-2.0.0-config_h.patch 387 RMD160 c029426c8cfe7d6f8c63aefa3f94c801c8f397d8 SHA1 b43868344bc1d0d93ed12b325278a85fe49da767 SHA256 6ef79f82f4fbc2e15e0e914767166a9e7424426bc6a2a8a6597f6cc33738e17c
MD5 ce1ba8bd6c62ed620571dfd89e97eb9c files/novell-novfs-2.0.0-config_h.patch 387
RMD160 c029426c8cfe7d6f8c63aefa3f94c801c8f397d8 files/novell-novfs-2.0.0-config_h.patch 387
SHA256 6ef79f82f4fbc2e15e0e914767166a9e7424426bc6a2a8a6597f6cc33738e17c files/novell-novfs-2.0.0-config_h.patch 387
AUX novell-novfs-2.0.0-dont_use_tasklist_lock.patch 697 RMD160 a431437c46ba7ae8dd2105f785533d07c632e353 SHA1 c35467e9646d196e6a13f8edf19a266a9f42c512 SHA256 57e09616338ef0d6c8084b31eb5faf4acdcf8a2789a95462dde11e4bc7832818
MD5 d37acca52d7eed5a32fc59ce0c03027f files/novell-novfs-2.0.0-dont_use_tasklist_lock.patch 697
RMD160 a431437c46ba7ae8dd2105f785533d07c632e353 files/novell-novfs-2.0.0-dont_use_tasklist_lock.patch 697
SHA256 57e09616338ef0d6c8084b31eb5faf4acdcf8a2789a95462dde11e4bc7832818 files/novell-novfs-2.0.0-dont_use_tasklist_lock.patch 697
AUX novell-novfs-2.0.0-generic_file_read.patch 749 RMD160 5e57f0392dfa973fc94100c032463292347b883c SHA1 b2f985d366c1031fbc3d664d8933fabb61e2fe0a SHA256 9783dc6082597175af79073ec32e550210907cc7b0f1130d43cf65c9fed6d419
MD5 ad0967dafd28c60736f5bacd80431300 files/novell-novfs-2.0.0-generic_file_read.patch 749
RMD160 5e57f0392dfa973fc94100c032463292347b883c files/novell-novfs-2.0.0-generic_file_read.patch 749
SHA256 9783dc6082597175af79073ec32e550210907cc7b0f1130d43cf65c9fed6d419 files/novell-novfs-2.0.0-generic_file_read.patch 749
AUX novell-novfs-2.0.0-i_blksize.patch 2920 RMD160 8ae931e01954ee69288ece87bf67bafb81172ae3 SHA1 728aa3f689fbfe64966b78d54e85a2dd9df0ba58 SHA256 5fa30bf88f252e07481f03b2e875cfaff639d017f8f20c356930e973bf6e3740
MD5 763e227d6b1ba5218633a2bc5d08402b files/novell-novfs-2.0.0-i_blksize.patch 2920
RMD160 8ae931e01954ee69288ece87bf67bafb81172ae3 files/novell-novfs-2.0.0-i_blksize.patch 2920
SHA256 5fa30bf88f252e07481f03b2e875cfaff639d017f8f20c356930e973bf6e3740 files/novell-novfs-2.0.0-i_blksize.patch 2920
AUX novell-novfs-2.0.0-section_mismatch-1.patch 1943 RMD160 e6a025066d935ff69669b67eb77157a6cb96c525 SHA1 0caa5ee241ed56cd52741815192659612eefae2b SHA256 38b1be3c3b61c15212063af75cfbd84ac46b4aab8248a11c9ec121a5496a86d6 AUX novell-novfs-2.0.0-section_mismatch-1.patch 1943 RMD160 e6a025066d935ff69669b67eb77157a6cb96c525 SHA1 0caa5ee241ed56cd52741815192659612eefae2b SHA256 38b1be3c3b61c15212063af75cfbd84ac46b4aab8248a11c9ec121a5496a86d6
MD5 e01e6b6064f80d50788b08949d34ef07 files/novell-novfs-2.0.0-section_mismatch-1.patch 1943 MD5 e01e6b6064f80d50788b08949d34ef07 files/novell-novfs-2.0.0-section_mismatch-1.patch 1943
RMD160 e6a025066d935ff69669b67eb77157a6cb96c525 files/novell-novfs-2.0.0-section_mismatch-1.patch 1943 RMD160 e6a025066d935ff69669b67eb77157a6cb96c525 files/novell-novfs-2.0.0-section_mismatch-1.patch 1943
SHA256 38b1be3c3b61c15212063af75cfbd84ac46b4aab8248a11c9ec121a5496a86d6 files/novell-novfs-2.0.0-section_mismatch-1.patch 1943 SHA256 38b1be3c3b61c15212063af75cfbd84ac46b4aab8248a11c9ec121a5496a86d6 files/novell-novfs-2.0.0-section_mismatch-1.patch 1943
AUX novell-novfs-2.0.0-u.generic_ip.patch 24168 RMD160 37046de7e80c853327f2865f45f05458970feea9 SHA1 01b9aada0bdcd411e9b152c65b6fcdc591b3dd9b SHA256 950b959d82a21902ac0579bbb8721fc22a0813bd4ed5e0bf1ee835b1ad8dfbca
MD5 95fe1b20b61bda4152c6140ef7b07241 files/novell-novfs-2.0.0-u.generic_ip.patch 24168
RMD160 37046de7e80c853327f2865f45f05458970feea9 files/novell-novfs-2.0.0-u.generic_ip.patch 24168
SHA256 950b959d82a21902ac0579bbb8721fc22a0813bd4ed5e0bf1ee835b1ad8dfbca files/novell-novfs-2.0.0-u.generic_ip.patch 24168
AUX novell-novfs-2.0.0-vfs.patch 524 RMD160 caab5f55b21e0a84c90529af01018f076069e046 SHA1 e4ff839c81ea455975104f096c81a3f7e2564867 SHA256 b2a21ed547f05bd141f02062dd219e445ab1f4170dbf9f336f72281f2bea00ee AUX novell-novfs-2.0.0-vfs.patch 524 RMD160 caab5f55b21e0a84c90529af01018f076069e046 SHA1 e4ff839c81ea455975104f096c81a3f7e2564867 SHA256 b2a21ed547f05bd141f02062dd219e445ab1f4170dbf9f336f72281f2bea00ee
MD5 3e4d80662503382a5c234d39d701b72f files/novell-novfs-2.0.0-vfs.patch 524 MD5 3e4d80662503382a5c234d39d701b72f files/novell-novfs-2.0.0-vfs.patch 524
RMD160 caab5f55b21e0a84c90529af01018f076069e046 files/novell-novfs-2.0.0-vfs.patch 524 RMD160 caab5f55b21e0a84c90529af01018f076069e046 files/novell-novfs-2.0.0-vfs.patch 524
SHA256 b2a21ed547f05bd141f02062dd219e445ab1f4170dbf9f336f72281f2bea00ee files/novell-novfs-2.0.0-vfs.patch 524 SHA256 b2a21ed547f05bd141f02062dd219e445ab1f4170dbf9f336f72281f2bea00ee files/novell-novfs-2.0.0-vfs.patch 524
AUX novell-novfs-2.0.0_p16-vfs.patch 524 RMD160 f80558761c3a2cff1ac4709ecc41fae4ebb8b83a SHA1 6d3654efb7620f34ef9d27e37a14529d6b24a269 SHA256 4aa2195da32e91d20d6a64282ad22cce9f3601622be2b35c15580756ad1e738b
MD5 375c66859993a01086e33561bcfcef92 files/novell-novfs-2.0.0_p16-vfs.patch 524
RMD160 f80558761c3a2cff1ac4709ecc41fae4ebb8b83a files/novell-novfs-2.0.0_p16-vfs.patch 524
SHA256 4aa2195da32e91d20d6a64282ad22cce9f3601622be2b35c15580756ad1e738b files/novell-novfs-2.0.0_p16-vfs.patch 524
AUX novell-novfs-2.0.0_p20-vfs.patch 524 RMD160 e33cb2ab1a4f2afb08d05191e5dcddba07cc5aed SHA1 7ff1da61bdafc8a6ad7b193f4f63f4cee3144c64 SHA256 8b664acf9845c539a1f5e405f0e957ed1f906b7ca6c493999076a4865f8b9b08
MD5 38413557e9dd3779b198956963714cf1 files/novell-novfs-2.0.0_p20-vfs.patch 524
RMD160 e33cb2ab1a4f2afb08d05191e5dcddba07cc5aed files/novell-novfs-2.0.0_p20-vfs.patch 524
SHA256 8b664acf9845c539a1f5e405f0e957ed1f906b7ca6c493999076a4865f8b9b08 files/novell-novfs-2.0.0_p20-vfs.patch 524
DIST novell-client-1.2-SLE10.tar.gz 13963983 RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 SHA1 14278f74c8226afabc0c602bdc31d4e20acff6b9 SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241
DIST novfs-2.0.0-16.src.rpm 131164 RMD160 66fdbe1ac20e7c5a1ba03b3476354363cbef9e76 SHA1 30955ebfbb6cc534b2296ce03858a04e6a59ba2b SHA256 b74be1b71275217e52fa1fae391b0a807e3c82b0f2e9fd65af90968e32bc1491
DIST novfs-2.0.0-20.src.rpm 132637 RMD160 4e09e86888cf1a3ab5f82b180fe9806d5289818e SHA1 5aeb48910693056d6a126ffdaa92e926a5d02a5c SHA256 875697a876a861bd08e63a2c75575ee8ce5eb4551221405a392c88e96c920e9c
DIST novfs-2.0.0-21.src.rpm 132718 RMD160 3f02ec1e012683c13d6e99220916853a70664435 SHA1 51898723ad8d694163f7a4ad84cb9cd26e87ff74 SHA256 e6b0d502ec055215ac4dd2da2088a7e771eb6378b14d260ca6d0e3c7dc74cdbb
DIST novfs-2.0.0-22.src.rpm 132595 RMD160 5db33f3dfdaac16b561c192b944d81d75fd51825 SHA1 2bd74f199dc397f61675631311af661a2ffd79df SHA256 73484ed5a55d1f97ceed8a8a1f5a5a40e71f696d09a3ffe74efa30e594ce1cc7
DIST novfs-2.0.0-23.src.rpm 133355 RMD160 67a07d2eb8b12cefe40d44dab9c94670c64cc54d SHA1 0a3573587b06a4c82e2f34b40749df04ff2b414b SHA256 e5e4c234a39220b8f86c6bc45d446abe0ec20b46d6b72792541ad5e3bc3ebbeb DIST novfs-2.0.0-23.src.rpm 133355 RMD160 67a07d2eb8b12cefe40d44dab9c94670c64cc54d SHA1 0a3573587b06a4c82e2f34b40749df04ff2b414b SHA256 e5e4c234a39220b8f86c6bc45d446abe0ec20b46d6b72792541ad5e3bc3ebbeb
EBUILD novell-novfs-1.2.0_p17-r2.ebuild 1489 RMD160 ceb5173d5207ef5de76a81299baaaf16c3db9ce4 SHA1 2d7a71e11c7fd9477e3546e2c0383a46e4fcdb08 SHA256 662bf378500afaa0d561f6779ef9a67c7d68a4b8215bef128b402dd976478592
MD5 656ac481e9df037933ac960dbff7055e novell-novfs-1.2.0_p17-r2.ebuild 1489
RMD160 ceb5173d5207ef5de76a81299baaaf16c3db9ce4 novell-novfs-1.2.0_p17-r2.ebuild 1489
SHA256 662bf378500afaa0d561f6779ef9a67c7d68a4b8215bef128b402dd976478592 novell-novfs-1.2.0_p17-r2.ebuild 1489
EBUILD novell-novfs-2.0.0_p16.ebuild 1519 RMD160 f8a696e1f75c60979f8e0c4df25482f8b1f0f0d2 SHA1 cc45688a00d23b685daa387d76b2847ba689758d SHA256 56021d32f2528f3170f77584e4cd0043bb8a2347009bca156562b5c6555e863b
MD5 2aabaad44f57265b0c813cbd594614c3 novell-novfs-2.0.0_p16.ebuild 1519
RMD160 f8a696e1f75c60979f8e0c4df25482f8b1f0f0d2 novell-novfs-2.0.0_p16.ebuild 1519
SHA256 56021d32f2528f3170f77584e4cd0043bb8a2347009bca156562b5c6555e863b novell-novfs-2.0.0_p16.ebuild 1519
EBUILD novell-novfs-2.0.0_p2-r1.ebuild 1776 RMD160 e4fc7ff47a9aba5dc8854faeb5b0e30917661236 SHA1 72f428d40440d611e6471c47fd0e0c7efea54e37 SHA256 c04fdfc306dc02d6eb3802bfe13263d8d5be2395dd291519c8902db416fe5911
MD5 0ddb5f95a5d00c7854c04776600e713c novell-novfs-2.0.0_p2-r1.ebuild 1776
RMD160 e4fc7ff47a9aba5dc8854faeb5b0e30917661236 novell-novfs-2.0.0_p2-r1.ebuild 1776
SHA256 c04fdfc306dc02d6eb3802bfe13263d8d5be2395dd291519c8902db416fe5911 novell-novfs-2.0.0_p2-r1.ebuild 1776
EBUILD novell-novfs-2.0.0_p20.ebuild 1519 RMD160 f8a696e1f75c60979f8e0c4df25482f8b1f0f0d2 SHA1 cc45688a00d23b685daa387d76b2847ba689758d SHA256 56021d32f2528f3170f77584e4cd0043bb8a2347009bca156562b5c6555e863b
MD5 2aabaad44f57265b0c813cbd594614c3 novell-novfs-2.0.0_p20.ebuild 1519
RMD160 f8a696e1f75c60979f8e0c4df25482f8b1f0f0d2 novell-novfs-2.0.0_p20.ebuild 1519
SHA256 56021d32f2528f3170f77584e4cd0043bb8a2347009bca156562b5c6555e863b novell-novfs-2.0.0_p20.ebuild 1519
EBUILD novell-novfs-2.0.0_p21.ebuild 1567 RMD160 644cbde8827a8c0e8cc8917f71da0230398e90ab SHA1 b594b79d6f8a23552a81c6d9828e2332e98c5be5 SHA256 465879be7fab05a9212f24337c3d8d888fb3880964eadb9312c43382822d5c2f
MD5 525561b1b411637d66b89a3edaf5f49e novell-novfs-2.0.0_p21.ebuild 1567
RMD160 644cbde8827a8c0e8cc8917f71da0230398e90ab novell-novfs-2.0.0_p21.ebuild 1567
SHA256 465879be7fab05a9212f24337c3d8d888fb3880964eadb9312c43382822d5c2f novell-novfs-2.0.0_p21.ebuild 1567
EBUILD novell-novfs-2.0.0_p22-r1.ebuild 1684 RMD160 944a9e110178af87b7832f6675f65a2a257792a9 SHA1 1c91171d647799bdb41ce14dacd91c8cc613dbd0 SHA256 3e1625404da5c99493fa4e2702ad7ccbf1e718aaa8638ccfa1255f07f379f5cb
MD5 549de538b6cd21a142c1f1c4d6850295 novell-novfs-2.0.0_p22-r1.ebuild 1684
RMD160 944a9e110178af87b7832f6675f65a2a257792a9 novell-novfs-2.0.0_p22-r1.ebuild 1684
SHA256 3e1625404da5c99493fa4e2702ad7ccbf1e718aaa8638ccfa1255f07f379f5cb novell-novfs-2.0.0_p22-r1.ebuild 1684
EBUILD novell-novfs-2.0.0_p22.ebuild 1620 RMD160 fce1ac752f6f770ccf1a11afd011c682a4c7e810 SHA1 389cb05285586a67d67bfa10072fe33b6a6dbb68 SHA256 af7888ea6527ac777c5086998eb6976b45321b5583e82488c0b38327c4c759c4
MD5 2509c13ab57faec4156f19b04f1c1d77 novell-novfs-2.0.0_p22.ebuild 1620
RMD160 fce1ac752f6f770ccf1a11afd011c682a4c7e810 novell-novfs-2.0.0_p22.ebuild 1620
SHA256 af7888ea6527ac777c5086998eb6976b45321b5583e82488c0b38327c4c759c4 novell-novfs-2.0.0_p22.ebuild 1620
EBUILD novell-novfs-2.0.0_p23-r1.ebuild 1684 RMD160 68eae5c17878d7a6afbd70aa518aa23b7e705a59 SHA1 e131648245a9f61cb56b58b1ca1d3ac63fecd514 SHA256 bc435ad3c2c3319e934c5898e39c2d0cb9d1e9e10c37a8b68969184291244f4a
MD5 ae458c06838a249a0cf8c69952953953 novell-novfs-2.0.0_p23-r1.ebuild 1684
RMD160 68eae5c17878d7a6afbd70aa518aa23b7e705a59 novell-novfs-2.0.0_p23-r1.ebuild 1684
SHA256 bc435ad3c2c3319e934c5898e39c2d0cb9d1e9e10c37a8b68969184291244f4a novell-novfs-2.0.0_p23-r1.ebuild 1684
EBUILD novell-novfs-2.0.0_p23-r2.ebuild 1684 RMD160 68eae5c17878d7a6afbd70aa518aa23b7e705a59 SHA1 e131648245a9f61cb56b58b1ca1d3ac63fecd514 SHA256 bc435ad3c2c3319e934c5898e39c2d0cb9d1e9e10c37a8b68969184291244f4a EBUILD novell-novfs-2.0.0_p23-r2.ebuild 1684 RMD160 68eae5c17878d7a6afbd70aa518aa23b7e705a59 SHA1 e131648245a9f61cb56b58b1ca1d3ac63fecd514 SHA256 bc435ad3c2c3319e934c5898e39c2d0cb9d1e9e10c37a8b68969184291244f4a
MD5 ae458c06838a249a0cf8c69952953953 novell-novfs-2.0.0_p23-r2.ebuild 1684 MD5 ae458c06838a249a0cf8c69952953953 novell-novfs-2.0.0_p23-r2.ebuild 1684
RMD160 68eae5c17878d7a6afbd70aa518aa23b7e705a59 novell-novfs-2.0.0_p23-r2.ebuild 1684 RMD160 68eae5c17878d7a6afbd70aa518aa23b7e705a59 novell-novfs-2.0.0_p23-r2.ebuild 1684
SHA256 bc435ad3c2c3319e934c5898e39c2d0cb9d1e9e10c37a8b68969184291244f4a novell-novfs-2.0.0_p23-r2.ebuild 1684 SHA256 bc435ad3c2c3319e934c5898e39c2d0cb9d1e9e10c37a8b68969184291244f4a novell-novfs-2.0.0_p23-r2.ebuild 1684
EBUILD novell-novfs-2.0.0_p23.ebuild 1684 RMD160 944a9e110178af87b7832f6675f65a2a257792a9 SHA1 1c91171d647799bdb41ce14dacd91c8cc613dbd0 SHA256 3e1625404da5c99493fa4e2702ad7ccbf1e718aaa8638ccfa1255f07f379f5cb MISC ChangeLog 4380 RMD160 2b9408135bc27ab58e53d9cdc07565f688913651 SHA1 72ef0696d5dfd6cc83859794182f2c7a8155f92d SHA256 113ede7bff1719818f2e648a781bb2d48cfec6e33b3572343fa1bea0eac23c08
MD5 549de538b6cd21a142c1f1c4d6850295 novell-novfs-2.0.0_p23.ebuild 1684 MD5 6dd4d7b6cd14a26d8789a8ad908a4258 ChangeLog 4380
RMD160 944a9e110178af87b7832f6675f65a2a257792a9 novell-novfs-2.0.0_p23.ebuild 1684 RMD160 2b9408135bc27ab58e53d9cdc07565f688913651 ChangeLog 4380
SHA256 3e1625404da5c99493fa4e2702ad7ccbf1e718aaa8638ccfa1255f07f379f5cb novell-novfs-2.0.0_p23.ebuild 1684 SHA256 113ede7bff1719818f2e648a781bb2d48cfec6e33b3572343fa1bea0eac23c08 ChangeLog 4380
MISC ChangeLog 3344 RMD160 502263b6a336e1a2ac9f2c40b1dfbfd3809d0d7a SHA1 aede947eb2661e57b643bd46bff5c0640cdce3f5 SHA256 3680066b021134af5e1ce7c7f0c79fe1b948dfe2e8749defe9c2b4dd0b9f4bd3
MD5 df93a694e6ea5e520c9a03a5c275a62d ChangeLog 3344
RMD160 502263b6a336e1a2ac9f2c40b1dfbfd3809d0d7a ChangeLog 3344
SHA256 3680066b021134af5e1ce7c7f0c79fe1b948dfe2e8749defe9c2b4dd0b9f4bd3 ChangeLog 3344
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-novfs-1.2.0_p17-r2 277
RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-novfs-1.2.0_p17-r2 277
SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-novfs-1.2.0_p17-r2 277
MD5 f29cdd765df82535c6d72c0a1c624ce1 files/digest-novell-novfs-2.0.0_p16 247
RMD160 325482478e47b001e96e42807f6f3c9371313b4b files/digest-novell-novfs-2.0.0_p16 247
SHA256 c66115fcc6e533206a37610862b220d385959e93fd87998532ba3bbe9f613c49 files/digest-novell-novfs-2.0.0_p16 247
MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-novfs-2.0.0_p2-r1 277
RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-novfs-2.0.0_p2-r1 277
SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-novfs-2.0.0_p2-r1 277
MD5 614d131fec884b9804bce9442d35df45 files/digest-novell-novfs-2.0.0_p20 247
RMD160 e43b4f5759411fe320763fe0a76904150d617a17 files/digest-novell-novfs-2.0.0_p20 247
SHA256 8b35a9806110c72c1a63b5250590c1d804cf4950a1ff6c30e06c648cff0e5d89 files/digest-novell-novfs-2.0.0_p20 247
MD5 7a0d2edb2160834190b972e3201fff83 files/digest-novell-novfs-2.0.0_p21 247
RMD160 f4ef868a6539dfd96526e220b137c7236d737f4b files/digest-novell-novfs-2.0.0_p21 247
SHA256 0bb4ca4dc96987758a14a312da94dc242e9610d13ff24d92c8c1a836cd62afe6 files/digest-novell-novfs-2.0.0_p21 247
MD5 affe3e9cf9b578e2a8f797e4f0a6e083 files/digest-novell-novfs-2.0.0_p22 247
RMD160 91fa4dfff2bd501da3087a76752eca2c8921aa45 files/digest-novell-novfs-2.0.0_p22 247
SHA256 08e9ca883498795bcec22c91f3ea2508198b27a61e387bbd10136cb1435d6d3f files/digest-novell-novfs-2.0.0_p22 247
MD5 affe3e9cf9b578e2a8f797e4f0a6e083 files/digest-novell-novfs-2.0.0_p22-r1 247
RMD160 91fa4dfff2bd501da3087a76752eca2c8921aa45 files/digest-novell-novfs-2.0.0_p22-r1 247
SHA256 08e9ca883498795bcec22c91f3ea2508198b27a61e387bbd10136cb1435d6d3f files/digest-novell-novfs-2.0.0_p22-r1 247
MD5 e8b7312e808e27084790108e845e0c21 files/digest-novell-novfs-2.0.0_p23 247
RMD160 744d3703c6bc402e76b9bdba60a9b5477868c098 files/digest-novell-novfs-2.0.0_p23 247
SHA256 d30f90e6742bf18ada297495ef702f3f18b4648a55a1ecc73a31c3a5a7d7648c files/digest-novell-novfs-2.0.0_p23 247
MD5 e8b7312e808e27084790108e845e0c21 files/digest-novell-novfs-2.0.0_p23-r1 247
RMD160 744d3703c6bc402e76b9bdba60a9b5477868c098 files/digest-novell-novfs-2.0.0_p23-r1 247
SHA256 d30f90e6742bf18ada297495ef702f3f18b4648a55a1ecc73a31c3a5a7d7648c files/digest-novell-novfs-2.0.0_p23-r1 247
MD5 e8b7312e808e27084790108e845e0c21 files/digest-novell-novfs-2.0.0_p23-r2 247 MD5 e8b7312e808e27084790108e845e0c21 files/digest-novell-novfs-2.0.0_p23-r2 247
RMD160 744d3703c6bc402e76b9bdba60a9b5477868c098 files/digest-novell-novfs-2.0.0_p23-r2 247 RMD160 744d3703c6bc402e76b9bdba60a9b5477868c098 files/digest-novell-novfs-2.0.0_p23-r2 247
SHA256 d30f90e6742bf18ada297495ef702f3f18b4648a55a1ecc73a31c3a5a7d7648c files/digest-novell-novfs-2.0.0_p23-r2 247 SHA256 d30f90e6742bf18ada297495ef702f3f18b4648a55a1ecc73a31c3a5a7d7648c files/digest-novell-novfs-2.0.0_p23-r2 247

View File

@ -1,3 +0,0 @@
MD5 2aab6c7358a733d1d8d9a4e893500a36 novell-client-1.2-SLE10.tar.gz 13963983
RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 novell-client-1.2-SLE10.tar.gz 13963983
SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241 novell-client-1.2-SLE10.tar.gz 13963983

View File

@ -1,3 +0,0 @@
MD5 2210f636ece0b6cd29d588ebd0f973e6 novfs-2.0.0-16.src.rpm 131164
RMD160 66fdbe1ac20e7c5a1ba03b3476354363cbef9e76 novfs-2.0.0-16.src.rpm 131164
SHA256 b74be1b71275217e52fa1fae391b0a807e3c82b0f2e9fd65af90968e32bc1491 novfs-2.0.0-16.src.rpm 131164

View File

@ -1,3 +0,0 @@
MD5 2aab6c7358a733d1d8d9a4e893500a36 novell-client-1.2-SLE10.tar.gz 13963983
RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 novell-client-1.2-SLE10.tar.gz 13963983
SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241 novell-client-1.2-SLE10.tar.gz 13963983

View File

@ -1,3 +0,0 @@
MD5 ab95d10b3395212c067059ef3e0fe7ae novfs-2.0.0-20.src.rpm 132637
RMD160 4e09e86888cf1a3ab5f82b180fe9806d5289818e novfs-2.0.0-20.src.rpm 132637
SHA256 875697a876a861bd08e63a2c75575ee8ce5eb4551221405a392c88e96c920e9c novfs-2.0.0-20.src.rpm 132637

View File

@ -1,3 +0,0 @@
MD5 97111bdbdd94948351e08f5c953073b0 novfs-2.0.0-21.src.rpm 132718
RMD160 3f02ec1e012683c13d6e99220916853a70664435 novfs-2.0.0-21.src.rpm 132718
SHA256 e6b0d502ec055215ac4dd2da2088a7e771eb6378b14d260ca6d0e3c7dc74cdbb novfs-2.0.0-21.src.rpm 132718

View File

@ -1,3 +0,0 @@
MD5 d1c7490b11edd12386f0274f780afc61 novfs-2.0.0-22.src.rpm 132595
RMD160 5db33f3dfdaac16b561c192b944d81d75fd51825 novfs-2.0.0-22.src.rpm 132595
SHA256 73484ed5a55d1f97ceed8a8a1f5a5a40e71f696d09a3ffe74efa30e594ce1cc7 novfs-2.0.0-22.src.rpm 132595

View File

@ -1,3 +0,0 @@
MD5 d1c7490b11edd12386f0274f780afc61 novfs-2.0.0-22.src.rpm 132595
RMD160 5db33f3dfdaac16b561c192b944d81d75fd51825 novfs-2.0.0-22.src.rpm 132595
SHA256 73484ed5a55d1f97ceed8a8a1f5a5a40e71f696d09a3ffe74efa30e594ce1cc7 novfs-2.0.0-22.src.rpm 132595

View File

@ -1,3 +0,0 @@
MD5 810252c8ca7eafbc31fe2a461ba6b19f novfs-2.0.0-23.src.rpm 133355
RMD160 67a07d2eb8b12cefe40d44dab9c94670c64cc54d novfs-2.0.0-23.src.rpm 133355
SHA256 e5e4c234a39220b8f86c6bc45d446abe0ec20b46d6b72792541ad5e3bc3ebbeb novfs-2.0.0-23.src.rpm 133355

View File

@ -1,3 +0,0 @@
MD5 810252c8ca7eafbc31fe2a461ba6b19f novfs-2.0.0-23.src.rpm 133355
RMD160 67a07d2eb8b12cefe40d44dab9c94670c64cc54d novfs-2.0.0-23.src.rpm 133355
SHA256 e5e4c234a39220b8f86c6bc45d446abe0ec20b46d6b72792541ad5e3bc3ebbeb novfs-2.0.0-23.src.rpm 133355

View File

@ -1,21 +0,0 @@
diff -uNr novfs-1.2.0.orig/novfs/daemon.c novfs-1.2.0/novfs/daemon.c
--- novfs-1.2.0.orig/novfs/daemon.c 2006-07-11 21:24:18.000000000 +0200
+++ novfs-1.2.0/novfs/daemon.c 2006-08-30 22:32:57.000000000 +0200
@@ -2784,7 +2784,7 @@
if (nd.last_type == LAST_NORM)
{
mutex_lock(&nd.dentry->d_inode->i_mutex);
- dentry = lookup_hash( &nd );
+ dentry = lookup_create( &nd, 1);
DbgPrint("local_unlink: lookup_hash 0x%p\n", dentry);
error = PTR_ERR(dentry);
@@ -2839,7 +2839,7 @@
if (nd.last_type == LAST_NORM)
{
down(&nd.dentry->d_inode->i_sem);
- dentry = lookup_hash(&nd.last, nd.dentry);
+ dentry = lookup_one_len(&nd.last, nd.dentry, sizeof(nd.last));
DbgPrint("local_unlink: lookup_hash 0x%p\n", dentry);
error = PTR_ERR(dentry);

View File

@ -1,21 +0,0 @@
diff -uNr novfs-1.2.0.orig/novfs/scope.c novfs-1.2.0/novfs/scope.c
--- novfs-1.2.0.orig/novfs/scope.c 2006-08-30 22:32:57.000000000 +0200
+++ novfs-1.2.0/novfs/scope.c 2006-10-15 16:35:47.000000000 +0200
@@ -869,7 +869,7 @@
sl = sl->next;
rscope = NULL;
- read_lock(&tasklist_lock);
+ rcu_read_lock();
for_each_process(task)
{
if ( (task->uid == scope->ScopeUid) || (task->euid == scope->ScopeUid) )
@@ -878,7 +878,7 @@
break;
}
}
- read_unlock(&tasklist_lock);
+ rcu_read_unlock();
if ( !rscope )
{
list_move( &scope->ScopeList, &cleanup );

View File

@ -1,99 +0,0 @@
diff -uNr novfs-1.2.0.orig/novfs/inode.c novfs-1.2.0/novfs/inode.c
--- novfs-1.2.0.orig/novfs/inode.c 2006-08-30 22:32:57.000000000 +0200
+++ novfs-1.2.0/novfs/inode.c 2006-10-15 16:15:58.000000000 +0200
@@ -47,7 +47,6 @@
/*===[ Include files specific to this module ]============================*/
#include "vfs.h"
-#include "conf.h"
/*===[ External data ]====================================================*/
@@ -129,8 +128,8 @@
unsigned long Novfs_internal_hash (struct qstr *name);
-#ifdef GET_SB_HAS_STRUCT_VFSMOUNT
-struct super_block * Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data, struct vfsmount *Mnt);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
+int Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data, struct vfsmount *Mnt);
#else
struct super_block * Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data);
#endif
@@ -204,7 +203,11 @@
int Novfs_notify_change(struct dentry *dentry, struct iattr *attr);
void Novfs_clear_inode(struct inode *inode);
int Novfs_show_options( struct seq_file *s, struct vfsmount *m );
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
+int Novfs_statfs(struct dentry *de, struct kstatfs *buf);
+#else
int Novfs_statfs(struct super_block *sb, struct kstatfs *buf);
+#endif
/*
* Declared control interface functions
@@ -3241,7 +3244,11 @@
}
/*++======================================================================*/
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
+int Novfs_statfs(struct dentry *de, struct kstatfs *buf)
+#else
int Novfs_statfs(struct super_block *sb, struct kstatfs *buf)
+#endif
/*
* Arguments: sb - pointer to the super_block
* buf - pointer to the statfs buffer
@@ -3257,6 +3264,9 @@
*========================================================================*/
{
uint64_t td, fd, te, fe;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
+ struct super_block *sb = de->d_sb;
+#endif
UNUSED_VARIABLE(sb);
@@ -3517,8 +3527,8 @@
}
/*++======================================================================*/
-#ifdef GET_SB_HAS_STRUCT_VFSMOUNT
-struct super_block *Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data, struct vfsmount *Mnt)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
+int Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data, struct vfsmount *Mnt)
#else
struct super_block *Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data)
#endif
@@ -3536,10 +3546,14 @@
*
*========================================================================*/
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
+ int sb;
+#else
struct super_block *sb;
+#endif
UNUSED_VARIABLE(Dev_name);
-#ifdef GET_SB_HAS_STRUCT_VFSMOUNT
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
sb = get_sb_nodev(Fstype, Flags, Data, Novfs_fill_super, Mnt);
#else
sb = get_sb_nodev(Fstype, Flags, Data, Novfs_fill_super);
diff -uNr novfs-1.2.0.orig/novfs/scope.c novfs-1.2.0/novfs/scope.c
--- novfs-1.2.0.orig/novfs/scope.c 2006-08-30 22:32:57.000000000 +0200
+++ novfs-1.2.0/novfs/scope.c 2006-10-15 16:22:55.000000000 +0200
@@ -45,11 +45,10 @@
/*===[ Include files specific to this module ]============================*/
#include "vfs.h"
-#include "conf.h"
#define LEADER signal->leader
-#ifndef TYPE_DEFINED_TASK_T
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
typedef struct task_struct task_t;
#endif

View File

@ -1,172 +0,0 @@
diff -uNr novfs-1.2.0.orig/novfs/conf novfs-1.2.0/novfs/conf
--- novfs-1.2.0.orig/novfs/conf 1970-01-01 01:00:00.000000000 +0100
+++ novfs-1.2.0/novfs/conf 2006-08-30 22:32:57.000000000 +0200
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+if [ -z "$1" ];then
+ echo "Usage: ssb linux-kernel-source-dir" >&2
+ exit 3
+fi
+
+echo > conf.h
+
+sbtdir='/tmp/sbtest'
+
+rm -fr $sbtdir || exit 3
+mkdir $sbtdir || exit 3
+
+echo "
+obj-m := sb.o
+
+all :
+ \$(MAKE) -C $1 SUBDIRS=$sbtdir modules
+" >> $sbtdir/Makefile
+
+echo "
+#include <linux/fs.h>
+int main()
+{
+ get_sb_nodev(0, 0, 0, 0, 0);
+ return 0;
+}
+" >> $sbtdir/sb.c
+
+(cd $sbtdir && make > /dev/null 2>&1)
+
+if test -e $sbtdir/sb.ko ;then
+ echo "
+#define GET_SB_HAS_STRUCT_VFSMOUNT 1
+ " >> conf.h
+fi
+
+rm -fr $sbtdir || exit 3
+mkdir $sbtdir || exit 3
+
+echo "
+obj-m := sb.o
+
+all :
+ \$(MAKE) -C $1 SUBDIRS=$sbtdir modules
+" >> $sbtdir/Makefile
+
+echo "
+#include <linux/sched.h>
+typedef struct task_struct task_t;
+" >> $sbtdir/sb.c
+
+(cd $sbtdir && make > /dev/null 2>&1)
+
+if test ! -e $sbtdir/sb.ko ;then
+ echo "
+#define TYPE_DEFINED_TASK_T 1
+ " >> conf.h
+fi
+
+rm -fr $sbtdir || exit 3
+
diff -uNr novfs-1.2.0.orig/novfs/inode.c novfs-1.2.0/novfs/inode.c
--- novfs-1.2.0.orig/novfs/inode.c 2006-07-11 21:24:18.000000000 +0200
+++ novfs-1.2.0/novfs/inode.c 2006-08-30 22:32:57.000000000 +0200
@@ -47,9 +47,11 @@
/*===[ Include files specific to this module ]============================*/
#include "vfs.h"
+#include "conf.h"
/*===[ External data ]====================================================*/
+
/*===[ External prototypes ]==============================================*/
extern int DbgPrint( char *Fmt, ... );
extern int LocalPrint( char *Fmt, ... );
@@ -126,7 +128,13 @@
struct inode *Novfs_get_inode(struct super_block *sb, int mode, int dev, uid_t uid, ino_t ino, struct qstr *name);
unsigned long Novfs_internal_hash (struct qstr *name);
-struct super_block *Novfs_get_sb (struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data);
+
+#ifdef GET_SB_HAS_STRUCT_VFSMOUNT
+struct super_block * Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data, struct vfsmount *Mnt);
+#else
+struct super_block * Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data);
+#endif
+
void Novfs_kill_sb(struct super_block *SB);
int Novfs_fill_super (struct super_block *SB, void *Data, int Silent);
@@ -3509,7 +3517,12 @@
}
/*++======================================================================*/
+#ifdef GET_SB_HAS_STRUCT_VFSMOUNT
+struct super_block *Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data, struct vfsmount *Mnt)
+#else
struct super_block *Novfs_get_sb(struct file_system_type *Fstype, int Flags, const char *Dev_name, void *Data)
+#endif
+
/*
* Arguments:
*
@@ -3526,7 +3539,11 @@
struct super_block *sb;
UNUSED_VARIABLE(Dev_name);
- sb = get_sb_nodev(Fstype, Flags, Data, Novfs_fill_super);
+#ifdef GET_SB_HAS_STRUCT_VFSMOUNT
+ sb = get_sb_nodev(Fstype, Flags, Data, Novfs_fill_super, Mnt);
+#else
+ sb = get_sb_nodev(Fstype, Flags, Data, Novfs_fill_super);
+#endif
DbgPrint( "Novfs_get_sb: sb=0x%x Fstype=0x%x Dev_name=%s\n", sb, Fstype, Dev_name);
diff -uNr novfs-1.2.0.orig/novfs/Makefile novfs-1.2.0/novfs/Makefile
--- novfs-1.2.0.orig/novfs/Makefile 2006-07-11 21:24:18.000000000 +0200
+++ novfs-1.2.0/novfs/Makefile 2006-08-30 22:32:57.000000000 +0200
@@ -34,12 +34,15 @@
NOVFS_VFS_SUB = 0
NOVFS_VFS_RELEASE = 17
+KERNEL_SOURCE_DIR="/usr/src/linux"
+#KERNEL_SOURCE_DIR="/usr/src/linux-2.6.18-rc4"
+
# Remove # from the following line for debug version
EXTRA_CFLAGS += -finstrument-functions
EXTRA_CFLAGS += -g
EXTRA_CFLAGS += -I.
EXTRA_CFLAGS += -I$(obj)/../include
-#EXTRA_CFLAGS += -I$(obj)/../../include
+EXTRA_CFLAGS += -I$(obj)/../../include
EXTRA_CFLAGS += -DNOVFS_VFS_MAJOR=$(NOVFS_VFS_MAJOR)
EXTRA_CFLAGS += -DNOVFS_VFS_MINOR=$(NOVFS_VFS_MINOR)
EXTRA_CFLAGS += -DNOVFS_VFS_SUB=$(NOVFS_VFS_SUB)
@@ -50,3 +53,10 @@
obj-m := novfs.o
novfs-y := inode.o proc.o profile.o daemon.o file.o scope.o nwcapi.o
+
+all:
+ ./conf $(KERNEL_SOURCE_DIR)
+ make -C $(KERNEL_SOURCE_DIR) SUBDIRS=`pwd` modules
+
+clean:
+ make -C $(KERNEL_SOURCE_DIR) SUBDIRS=`pwd` modules clean
diff -uNr novfs-1.2.0.orig/novfs/scope.c novfs-1.2.0/novfs/scope.c
--- novfs-1.2.0.orig/novfs/scope.c 2006-07-11 21:24:18.000000000 +0200
+++ novfs-1.2.0/novfs/scope.c 2006-08-30 22:32:57.000000000 +0200
@@ -45,8 +45,14 @@
/*===[ Include files specific to this module ]============================*/
#include "vfs.h"
+#include "conf.h"
#define LEADER signal->leader
+
+#ifndef TYPE_DEFINED_TASK_T
+typedef struct task_struct task_t;
+#endif
+
/*===[ External data ]====================================================*/
/*===[ External prototypes ]==============================================*/

View File

@ -1,347 +0,0 @@
diff -uNr novfs-1.2.0.orig/LICENSE novfs-1.2.0/LICENSE
--- novfs-1.2.0.orig/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ novfs-1.2.0/LICENSE 2006-08-30 22:32:57.000000000 +0200
@@ -0,0 +1,343 @@
+"Use of the novfs source code is governed by the terms of the GPL:"
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
+

View File

@ -1,31 +0,0 @@
--- novfs-2.0.0/src/vfs.h.orig 2007-02-18 13:09:59.000000000 +0100
+++ novfs-2.0.0/src/vfs.h 2007-02-18 13:07:14.000000000 +0100
@@ -70,7 +70,7 @@
#define IOC_SESSION 0x4a540003
#define IOC_DEBUGPRINT 0x4a540004
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
#define D_CHILD d_u.d_child
#define AS_TREE_LOCK(l) read_lock_irq(l)
#define AS_TREE_UNLOCK(l) read_unlock_irq(l)
--- novfs-2.0.0/src/daemon.c.orig 2007-02-18 13:06:44.000000000 +0100
+++ novfs-2.0.0/src/daemon.c 2007-02-18 13:12:00.000000000 +0100
@@ -2769,7 +2769,7 @@
error = -EISDIR;
if (nd.last_type == LAST_NORM)
{
- mutex_lock(&nd.dentry->d_inode->i_mutex);
+ down(&nd.dentry->d_inode->i_sem);
dentry = lookup_create( &nd, 1);
DbgPrint("local_unlink: lookup_hash 0x%p\n", dentry);
@@ -2792,7 +2792,7 @@
}
dput(dentry);
}
- mutex_unlock(&nd.dentry->d_inode->i_mutex);
+ up(&nd.dentry->d_inode->i_sem);
}
path_release(&nd);

View File

@ -1,12 +0,0 @@
Index: novfs-2.0.0/src/inode.c
===================================================================
--- novfs-2.0.0.orig/src/inode.c
+++ novfs-2.0.0/src/inode.c
@@ -29,7 +29,6 @@
/*===[ Include files specific to Linux ]==================================*/
#include <linux/module.h>
-#include <linux/config.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/dcache.h>

View File

@ -1,21 +0,0 @@
diff -uNr novfs-1.2.0.orig/novfs/scope.c novfs-1.2.0/novfs/scope.c
--- novfs-1.2.0.orig/src/scope.c 2006-08-30 22:32:57.000000000 +0200
+++ novfs-1.2.0/src/scope.c 2006-10-15 16:35:47.000000000 +0200
@@ -869,7 +869,7 @@
sl = sl->next;
rscope = NULL;
- read_lock(&tasklist_lock);
+ rcu_read_lock();
for_each_process(task)
{
if ( (task->uid == scope->ScopeUid) || (task->euid == scope->ScopeUid) )
@@ -878,7 +878,7 @@
break;
}
}
- read_unlock(&tasklist_lock);
+ rcu_read_unlock();
if ( !rscope )
{
list_move( &scope->ScopeList, &cleanup );

View File

@ -1,22 +0,0 @@
Index: novfs-2.0.0/src/inode.c
===================================================================
--- novfs-2.0.0.orig/src/inode.c
+++ novfs-2.0.0/src/inode.c
@@ -1629,7 +1629,7 @@ ssize_t Novfs_f_read(struct file *file,
!(file->f_flags & O_DIRECT) &&
id->CacheFlag )
{
- totalread = generic_file_read(file, buf, len, off);
+ totalread = do_sync_read(file, buf, len, off);
}
else
{
@@ -1693,7 +1693,7 @@ ssize_t Novfs_f_write(struct file *file,
!(file->f_flags & O_DIRECT) &&
id->CacheFlag )
{
- totalwrite = generic_file_write(file, buf, len, off);
+ totalwrite = do_sync_write(file, buf, len, off);
}
else
{

View File

@ -1,67 +0,0 @@
---
src/inode.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
Index: novfs-2.0.0/src/inode.c
===================================================================
--- novfs-2.0.0.orig/src/inode.c
+++ novfs-2.0.0/src/inode.c
@@ -1731,7 +1731,7 @@ ssize_t Novfs_f_write(struct file *file,
if (offset > i_size_read(inode))
{
i_size_write(inode, offset);
- inode->i_blocks = (offset + inode->i_blksize - 1) >> inode->i_blkbits;
+ inode->i_blocks = (offset + inode->i_sb->s_blocksize - 1) >> inode->i_blkbits;
}
inode->i_mtime = inode->i_atime = CURRENT_TIME;
id->Flags |= UPDATE_INODE;
@@ -2913,12 +2913,12 @@ void update_inode(struct inode *Inode, P
Inode->i_ctime = Info->ctime;
Inode->i_mtime = Info->mtime;
- if (Inode->i_size && Inode->i_blksize)
+ if (Inode->i_size && Inode->i_sb->s_blocksize)
{
Inode->i_blocks = (u_long)(Info->size >> (loff_t)Inode->i_blkbits);
- Inode->i_bytes = Info->size & (Inode->i_blksize - 1);
+ Inode->i_bytes = Info->size & (Inode->i_sb->s_blocksize - 1);
- DbgPrint("update_inode: i_blksize=%d\n", Inode->i_blksize);
+ DbgPrint("update_inode: i_blksize=%d\n", Inode->i_sb->s_blocksize);
DbgPrint("update_inode: i_blkbits=%d\n", Inode->i_blkbits);
DbgPrint("update_inode: i_blocks=%d\n", Inode->i_blocks);
DbgPrint("update_inode: i_bytes=%d\n", Inode->i_bytes);
@@ -3604,7 +3604,7 @@ int Novfs_i_getattr(struct vfsmount *mnt
kstat->atime = inode->i_atime;
kstat->mtime = inode->i_mtime;
kstat->ctime = inode->i_ctime;
- kstat->blksize = inode->i_blksize;
+ kstat->blksize = inode->i_sb->s_blocksize;
kstat->blocks = inode->i_blocks;
if (inode->i_bytes)
{
@@ -3909,7 +3909,6 @@ struct inode *Novfs_get_inode(struct sup
inode->i_mode = mode;
inode->i_uid = Uid;
inode->i_gid = 0;
- inode->i_blksize = sb->s_blocksize;
inode->i_blkbits = sb->s_blocksize_bits;
inode->i_blocks = 0;
inode->i_rdev = 0;
@@ -3962,7 +3961,6 @@ struct inode *Novfs_get_inode(struct sup
case S_IFDIR:
inode->i_op = &Novfs_inode_operations;
inode->i_fop = &Novfs_dir_operations;
- inode->i_blksize = 0;
inode->i_blkbits = 0;
break;
@@ -3973,7 +3971,7 @@ struct inode *Novfs_get_inode(struct sup
DbgPrint("Novfs_get_inode: size=%lld\n", inode->i_size);
DbgPrint("Novfs_get_inode: mode=0%o\n", inode->i_mode);
- DbgPrint("Novfs_get_inode: i_blksize=%d\n", inode->i_blksize);
+ DbgPrint("Novfs_get_inode: i_blksize=%d\n", inode->i_sb->s_blocksize);
DbgPrint("Novfs_get_inode: i_blkbits=%d\n", inode->i_blkbits);
DbgPrint("Novfs_get_inode: i_blocks=%d\n", inode->i_blocks);
DbgPrint("Novfs_get_inode: i_bytes=%d\n", inode->i_bytes);

View File

@ -1,609 +0,0 @@
---
src/inode.c | 194 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 97 insertions(+), 97 deletions(-)
Index: novfs-2.0.0/src/inode.c
===================================================================
--- novfs-2.0.0.orig/src/inode.c
+++ novfs-2.0.0/src/inode.c
@@ -422,9 +422,9 @@ int Novfs_Remove_from_Root(char *RemoveN
dentry = d_lookup( Novfs_root, &name);
if (dentry)
{
- if (dentry->d_inode && dentry->d_inode->u.generic_ip)
+ if (dentry->d_inode && dentry->d_inode->i_private)
{
- ((PINODE_DATA)(dentry->d_inode->u.generic_ip))->Scope = NULL;
+ ((PINODE_DATA)(dentry->d_inode->i_private))->Scope = NULL;
}
dput(dentry);
}
@@ -535,9 +535,9 @@ int Novfs_Add_to_Root2(char *AddName)
inode->i_mtime = CURRENT_TIME;
if ( !Novfs_d_add(Novfs_root, entry, inode, 1))
{
- if (inode->u.generic_ip)
+ if (inode->i_private)
{
- ((PINODE_DATA)inode->u.generic_ip)->Flags = USER_INODE;
+ ((PINODE_DATA)inode->i_private)->Flags = USER_INODE;
}
PRINT_DENTRY("After Novfs_d_add", entry);
}
@@ -651,7 +651,7 @@ int verify_dentry( struct dentry *dentry
if ( dentry && dentry->d_parent &&
(dir = dentry->d_parent->d_inode) &&
- (id = dir->u.generic_ip) )
+ (id = dir->i_private) )
{
parent = dget_parent(dentry);
@@ -675,7 +675,7 @@ int verify_dentry( struct dentry *dentry
/*
* Values don't match so update.
*/
- ((PINODE_DATA)inode->u.generic_ip)->Flags |= UPDATE_INODE;
+ ((PINODE_DATA)inode->i_private)->Flags |= UPDATE_INODE;
}
ctime = get_jiffies_64() - ctime;
@@ -776,9 +776,9 @@ int verify_dentry( struct dentry *dentry
id->Flags &= ~UPDATE_INODE;
dentry->d_inode->i_flags &= ~S_DEAD;
- if (dentry->d_inode->u.generic_ip)
+ if (dentry->d_inode->i_private)
{
- ((PINODE_DATA)dentry->d_inode->u.generic_ip)->Scope = id->Scope;
+ ((PINODE_DATA)dentry->d_inode->i_private)->Scope = id->Scope;
}
}
}
@@ -877,9 +877,9 @@ int Novfs_d_add(struct dentry *Parent, s
Novfs_Free(buf);
}
- if ( Parent && Parent->d_inode && Parent->d_inode->u.generic_ip)
+ if ( Parent && Parent->d_inode && Parent->d_inode->i_private)
{
- id = (PINODE_DATA)Parent->d_inode->u.generic_ip;
+ id = (PINODE_DATA)Parent->d_inode->i_private;
}
if (id && id->Scope)
@@ -891,7 +891,7 @@ int Novfs_d_add(struct dentry *Parent, s
scope = Scope_Get_ScopefromPath( d );
}
- ((PINODE_DATA)i->u.generic_ip)->Scope = scope;
+ ((PINODE_DATA)i->i_private)->Scope = scope;
d->d_time = jiffies+(File_update_timeout*HZ);
if (a)
@@ -944,7 +944,7 @@ int Novfs_d_revalidate(struct dentry *de
if ( dentry->d_inode &&
dentry->d_parent &&
(dir = dentry->d_parent->d_inode) &&
- (id = dir->u.generic_ip) )
+ (id = dir->i_private) )
{
/*
* Check timer to see if in valid time limit
@@ -1399,15 +1399,15 @@ int Novfs_dir_readdir(struct file * file
{
if (!file->private_data)
{
- if ( inode && inode->u.generic_ip )
+ if ( inode && inode->i_private )
{
- sessionId = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ sessionId = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
if (0 == sessionId)
{
- ((PINODE_DATA)inode->u.generic_ip)->Scope = Scope_Get_ScopefromPath(file->f_dentry);
- sessionId = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ ((PINODE_DATA)inode->i_private)->Scope = Scope_Get_ScopefromPath(file->f_dentry);
+ sessionId = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
}
- uid = Scope_Get_Uid(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ uid = Scope_Get_Uid(((PINODE_DATA)inode->i_private)->Scope);
}
else
{
@@ -1501,9 +1501,9 @@ int Novfs_dir_readdir(struct file * file
struct inode *dinode = file->private_data;
PINODE_DATA id = (PINODE_DATA)((char *)file->private_data+sizeof(struct inode));
- dinode->u.generic_ip = id;
+ dinode->i_private = id;
- id->Scope = ((PINODE_DATA)inode->u.generic_ip)->Scope;
+ id->Scope = ((PINODE_DATA)inode->i_private)->Scope;
id->Flags = 0;
INIT_LIST_HEAD( &id->DirCache );
init_MUTEX( &id->DirCacheLock );
@@ -1616,7 +1616,7 @@ ssize_t Novfs_f_read(struct file *file,
if ( file->f_dentry &&
(inode = file->f_dentry->d_inode) &&
- (id = (PINODE_DATA)inode->u.generic_ip))
+ (id = (PINODE_DATA)inode->i_private))
{
DbgPrint("Novfs_f_read(0x%x 0x%p %d %lld %.*s)\n",
@@ -1685,7 +1685,7 @@ ssize_t Novfs_f_write(struct file *file,
if ( file->f_dentry &&
(inode = file->f_dentry->d_inode) &&
- (id = file->f_dentry->d_inode->u.generic_ip) )
+ (id = file->f_dentry->d_inode->i_private) )
{
DbgPrint("Novfs_f_write(0x%x %d %lld %.*s)\n", (unsigned long)file->private_data, len, offset, file->f_dentry->d_name.len, file->f_dentry->d_name.name);
@@ -1844,9 +1844,9 @@ int Novfs_f_open(struct inode *inode, st
DbgPrint("Novfs_f_open: %.*s f_flags=0%o f_mode=0%o i_mode=0%o\n", file->f_dentry->d_name.len, file->f_dentry->d_name.name, file->f_flags, file->f_mode, inode->i_mode);
}
- if (inode && inode->u.generic_ip)
+ if (inode && inode->i_private)
{
- id = (PINODE_DATA)file->f_dentry->d_inode->u.generic_ip;
+ id = (PINODE_DATA)file->f_dentry->d_inode->i_private;
session = Scope_Get_SessionId(id->Scope);
if (0 == session)
{
@@ -1888,7 +1888,7 @@ int Novfs_f_open(struct inode *inode, st
ino = 0;
if (Novfs_get_entry(dir, &file->f_dentry->d_name, &ino, info))
{
- ((PINODE_DATA)inode->u.generic_ip)->Flags |= UPDATE_INODE;
+ ((PINODE_DATA)inode->i_private)->Flags |= UPDATE_INODE;
}
Novfs_unlock_inode_cache(dir);
@@ -1956,7 +1956,7 @@ int Novfs_f_release(struct inode *inode,
file->f_dentry->d_name.name,
(unsigned long)file->private_data);
- if ( file->f_dentry->d_inode && (id = file->f_dentry->d_inode->u.generic_ip))
+ if ( file->f_dentry->d_inode && (id = file->f_dentry->d_inode->i_private))
{
session = Scope_Get_SessionId(id->Scope);
if (0 == session)
@@ -2109,13 +2109,13 @@ int Novfs_a_writepage(struct page* page,
{
int retCode = -EFAULT;
struct inode *inode = page->mapping->host;
- PINODE_DATA id = inode->u.generic_ip;
+ PINODE_DATA id = inode->i_private;
loff_t pos = ((loff_t)page->index << PAGE_CACHE_SHIFT);
session_t session=0;
DATA_LIST dlst[2];
size_t len = PAGE_CACHE_SIZE;
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
page_cache_get(page);
@@ -2185,10 +2185,10 @@ int Novfs_a_writepages(struct address_sp
{
DbgPrint(" Inode=0x%x Ino=%d\n", inode, inode->i_ino);
- if (inode->u.generic_ip)
+ if (inode->i_private)
{
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
- fh = ((PINODE_DATA)inode->u.generic_ip)->FileHandle;
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
+ fh = ((PINODE_DATA)inode->i_private)->FileHandle;
}
}
@@ -2427,13 +2427,13 @@ int Novfs_a_readpage(struct file *file,
{
DbgPrint(" Inode=0x%x Ino=%d", inode, inode->i_ino);
- if (inode->u.generic_ip)
+ if (inode->i_private)
{
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)inode->u.generic_ip)->Scope = Scope_Get_ScopefromPath( file->f_dentry );
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ ((PINODE_DATA)inode->i_private)->Scope = Scope_Get_ScopefromPath( file->f_dentry );
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
}
}
}
@@ -2519,13 +2519,13 @@ int Novfs_a_readpages(struct file *file,
{
DbgPrint(" Inode=0x%x Ino=%d\n", inode, inode->i_ino);
- if (inode->u.generic_ip)
+ if (inode->i_private)
{
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)inode->u.generic_ip)->Scope = Scope_Get_ScopefromPath( file->f_dentry );
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ ((PINODE_DATA)inode->i_private)->Scope = Scope_Get_ScopefromPath( file->f_dentry );
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
}
}
}
@@ -2653,13 +2653,13 @@ int Novfs_a_prepare_write(struct file *f
*/
if (file->f_dentry && file->f_dentry->d_inode)
{
- if (file->f_dentry->d_inode->u.generic_ip)
+ if (file->f_dentry->d_inode->i_private)
{
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)inode->u.generic_ip)->Scope = Scope_Get_ScopefromPath( file->f_dentry );
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ ((PINODE_DATA)inode->i_private)->Scope = Scope_Get_ScopefromPath( file->f_dentry );
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
}
}
}
@@ -2741,7 +2741,7 @@ int Novfs_a_commit_write(struct file *fi
size_t len = to - offset;
DbgPrint("Novfs_a_commit_write: File=0x%p Page=0x%p offset=0x%x To=%u filesize=%lld\n", file, page, offset, to, i_size_read(file->f_dentry->d_inode));
- if (file->f_dentry->d_inode && (id = file->f_dentry->d_inode->u.generic_ip))
+ if (file->f_dentry->d_inode && (id = file->f_dentry->d_inode->i_private))
{
session = Scope_Get_SessionId(id->Scope);
if (0 == session)
@@ -2836,13 +2836,13 @@ int Novfs_i_create(struct inode *dir, st
if (mode | S_IFREG)
{
- if (dir->u.generic_ip)
+ if (dir->i_private)
{
- session = Scope_Get_SessionId( ((PINODE_DATA)dir->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId( ((PINODE_DATA)dir->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)dir->u.generic_ip)->Scope = Scope_Get_ScopefromPath( dentry );
- session = Scope_Get_SessionId(((PINODE_DATA)dir->u.generic_ip)->Scope);
+ ((PINODE_DATA)dir->i_private)->Scope = Scope_Get_ScopefromPath( dentry );
+ session = Scope_Get_SessionId(((PINODE_DATA)dir->i_private)->Scope);
}
buf = (char *)Novfs_Malloc(PATH_LENGTH_BUFFER, GFP_KERNEL);
@@ -2859,7 +2859,7 @@ int Novfs_i_create(struct inode *dir, st
{
if (dentry->d_inode)
{
- ((PINODE_DATA)dentry->d_inode->u.generic_ip)->Flags |= UPDATE_INODE;
+ ((PINODE_DATA)dentry->d_inode->i_private)->Flags |= UPDATE_INODE;
}
}
}
@@ -2951,7 +2951,7 @@ struct dentry * Novfs_i_lookup(struct in
DbgPrint("Novfs_i_lookup: dir 0x%x %d name %.*s hash %d inode 0x%0p\n", dir, dir->i_ino, dentry->d_name.len, dentry->d_name.name, dentry->d_name.hash, dentry->d_inode);
- if (dir && (id = dir->u.generic_ip) )
+ if (dir && (id = dir->i_private) )
{
retVal = 0;
if ( IS_ROOT( dentry ))
@@ -3066,13 +3066,13 @@ int Novfs_i_unlink(struct inode *dir, st
if ( inode )
{
DbgPrint("Novfs_i_unlink: dir=0x%x dir->i_ino=%d inode=0x%x ino=%d\n", dir, dir->i_ino, inode, inode->i_ino);
- if (inode->u.generic_ip)
+ if (inode->i_private)
{
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)inode->u.generic_ip)->Scope = Scope_Get_ScopefromPath( dentry );
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ ((PINODE_DATA)inode->i_private)->Scope = Scope_Get_ScopefromPath( dentry );
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
}
buf = (char *)Novfs_Malloc(PATH_LENGTH_BUFFER, GFP_KERNEL);
@@ -3142,16 +3142,16 @@ int Novfs_i_mkdir(struct inode *dir, str
mode |= S_IFDIR;
mode &= (S_IFMT | S_IRWXU);
- if ( dir->u.generic_ip )
+ if ( dir->i_private )
{
- session = Scope_Get_SessionId( ((PINODE_DATA)dir->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId( ((PINODE_DATA)dir->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)dir->u.generic_ip)->Scope = Scope_Get_ScopefromPath( dentry );
- session = Scope_Get_SessionId(((PINODE_DATA)dir->u.generic_ip)->Scope);
+ ((PINODE_DATA)dir->i_private)->Scope = Scope_Get_ScopefromPath( dentry );
+ session = Scope_Get_SessionId(((PINODE_DATA)dir->i_private)->Scope);
}
- uid = Scope_Get_Uid( ((PINODE_DATA)dir->u.generic_ip)->Scope);
+ uid = Scope_Get_Uid( ((PINODE_DATA)dir->i_private)->Scope);
buf = (char *)Novfs_Malloc(PATH_LENGTH_BUFFER, GFP_KERNEL);
if (buf)
{
@@ -3170,7 +3170,7 @@ int Novfs_i_mkdir(struct inode *dir, str
if (inode)
{
update_inode(inode, &info);
- ((PINODE_DATA)inode->u.generic_ip)->Flags &= ~UPDATE_INODE;
+ ((PINODE_DATA)inode->i_private)->Flags &= ~UPDATE_INODE;
dentry->d_time = jiffies+(File_update_timeout*HZ);
@@ -3238,9 +3238,9 @@ int Novfs_i_mknod(struct inode *dir, str
return(-EACCES);
}
- if ( ((PINODE_DATA)dir->u.generic_ip) )
+ if ( ((PINODE_DATA)dir->i_private) )
{
- uid = Scope_Get_Uid( ((PINODE_DATA)dir->u.generic_ip)->Scope);
+ uid = Scope_Get_Uid( ((PINODE_DATA)dir->i_private)->Scope);
if (mode & (S_IFREG | S_IFDIR))
{
inode = Novfs_get_inode(dir->i_sb, mode, dev, uid, 0, &dentry->d_name);
@@ -3344,27 +3344,27 @@ int Novfs_i_rename(struct inode *odir, s
if ( !Novfs_d_strcmp(&newname, &oldname))
{
- if ( od->d_inode && od->d_inode->u.generic_ip )
+ if ( od->d_inode && od->d_inode->i_private )
{
- if (nd->d_inode && nd->d_inode->u.generic_ip)
+ if (nd->d_inode && nd->d_inode->i_private)
{
- session = Scope_Get_SessionId(((PINODE_DATA)ndir->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId(((PINODE_DATA)ndir->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)ndir->u.generic_ip)->Scope = Scope_Get_ScopefromPath( nd );
- session = Scope_Get_SessionId(((PINODE_DATA)ndir->u.generic_ip)->Scope);
+ ((PINODE_DATA)ndir->i_private)->Scope = Scope_Get_ScopefromPath( nd );
+ session = Scope_Get_SessionId(((PINODE_DATA)ndir->i_private)->Scope);
}
retCode = Novfs_Delete(newpath, S_ISDIR(nd->d_inode->i_mode), session);
}
- session = Scope_Get_SessionId(((PINODE_DATA)ndir->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId(((PINODE_DATA)ndir->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)ndir->u.generic_ip)->Scope = Scope_Get_ScopefromPath( nd );
- session = Scope_Get_SessionId(((PINODE_DATA)ndir->u.generic_ip)->Scope);
+ ((PINODE_DATA)ndir->i_private)->Scope = Scope_Get_ScopefromPath( nd );
+ session = Scope_Get_SessionId(((PINODE_DATA)ndir->i_private)->Scope);
}
retCode = Novfs_Rename_File(
S_ISDIR(od->d_inode->i_mode),
@@ -3458,13 +3458,13 @@ int Novfs_i_setattr(struct dentry *dentr
return(-EACCES);
}
- if (inode && inode->u.generic_ip)
+ if (inode && inode->i_private)
{
- session = Scope_Get_SessionId( ((PINODE_DATA)inode->u.generic_ip)->Scope);
+ session = Scope_Get_SessionId( ((PINODE_DATA)inode->i_private)->Scope);
if (0 == session)
{
- ((PINODE_DATA)inode->u.generic_ip)->Scope = Scope_Get_ScopefromPath( dentry );
- session = Scope_Get_SessionId(((PINODE_DATA)inode->u.generic_ip)->Scope);
+ ((PINODE_DATA)inode->i_private)->Scope = Scope_Get_ScopefromPath( dentry );
+ session = Scope_Get_SessionId(((PINODE_DATA)inode->i_private)->Scope);
}
buf = (char *)Novfs_Malloc(PATH_LENGTH_BUFFER, GFP_KERNEL);
@@ -3513,7 +3513,7 @@ int Novfs_i_setattr(struct dentry *dentr
if ( !(retVal = Novfs_Set_Attr(path, attr, session) ) )
{
- ((PINODE_DATA)inode->u.generic_ip)->Flags |= UPDATE_INODE;
+ ((PINODE_DATA)inode->i_private)->Flags |= UPDATE_INODE;
if (ia_valid & ATTR_ATIME)
inode->i_atime = attr->ia_atime;
@@ -3563,7 +3563,7 @@ int Novfs_i_getattr(struct vfsmount *mnt
!IS_ROOT(dentry->d_parent) )
{
session = 0;
- id = dentry->d_inode->u.generic_ip;
+ id = dentry->d_inode->i_private;
if (id && (id->Flags & UPDATE_INODE) )
{
@@ -3744,9 +3744,9 @@ void Novfs_clear_inode(struct inode *ino
{
InodeCount--;
- if ( inode->u.generic_ip )
+ if ( inode->i_private )
{
- PINODE_DATA id=inode->u.generic_ip;
+ PINODE_DATA id=inode->i_private;
DbgPrint("Novfs_clear_inode: inode=0x%x ino=%d Scope=0x%p Name=%s\n", inode, inode->i_ino, id->Scope, id->Name);
@@ -3757,8 +3757,8 @@ void Novfs_clear_inode(struct inode *ino
up( &InodeList_lock );
- Novfs_Free(inode->u.generic_ip);
- inode->u.generic_ip = NULL;
+ Novfs_Free(inode->i_private);
+ inode->i_private = NULL;
remove_inode_hash( inode );
@@ -3921,12 +3921,12 @@ struct inode *Novfs_get_inode(struct sup
DbgPrint("Novfs_get_inode: Inode=0x%p I_ino=%d len=%d\n", inode, inode->i_ino, name->len);
- if (NULL != (inode->u.generic_ip = Novfs_Malloc(sizeof(INODE_DATA)+name->len, GFP_KERNEL)))
+ if (NULL != (inode->i_private = Novfs_Malloc(sizeof(INODE_DATA)+name->len, GFP_KERNEL)))
{
PINODE_DATA id;
- id = inode->u.generic_ip;
+ id = inode->i_private;
- DbgPrint("Novfs_get_inode: u.generic_ip 0x%p\n", id);
+ DbgPrint("Novfs_get_inode: i_private 0x%p\n", id);
id->Scope = NULL;
id->Flags = 0;
@@ -4343,7 +4343,7 @@ int Novfs_lock_inode_cache( struct inode
int retVal = 0;
DbgPrint("Novfs_lock_inode_cache: 0x%p\n", i);
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
down( &id->DirCacheLock );
retVal = 1;
@@ -4369,7 +4369,7 @@ void Novfs_unlock_inode_cache( struct in
{
PINODE_DATA id;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
up( &id->DirCacheLock );
}
@@ -4397,7 +4397,7 @@ int Novfs_enumerate_inode_cache( struct
int retVal = -1;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
if ( (NULL == iteration) || (NULL == *iteration) )
{
@@ -4456,7 +4456,7 @@ int Novfs_get_entry( struct inode *i, st
char *n="<NULL>";
int nl=6;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
if (name && name->len)
{
@@ -4545,7 +4545,7 @@ int Novfs_get_entry_time( struct inode *
char *n="<NULL>";
int nl=6;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
if (name && name->len)
{
@@ -4605,7 +4605,7 @@ int Novfs_get_remove_entry( struct inode
int retVal = -1;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
l = id->DirCache.next;
@@ -4653,7 +4653,7 @@ void Novfs_invalidate_inode_cache( struc
PDIR_CACHE dc;
struct list_head *l;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
list_for_each(l, &id->DirCache)
{
@@ -4690,7 +4690,7 @@ PDIR_CACHE Novfs_lookup_inode_cache( str
int nl=6;
int hash=0;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
if (name && name->name)
{
@@ -4768,7 +4768,7 @@ int Novfs_lookup_validate( struct inode
char *n="<NULL>";
int nl=6;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
if (name && name->len)
{
@@ -4815,7 +4815,7 @@ int Novfs_add_inode_entry(
PDIR_CACHE new;
int retVal = -ENOMEM;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
new = Novfs_Malloc(sizeof(DIR_CACHE)+name->len, GFP_KERNEL);
if (new)
@@ -4888,7 +4888,7 @@ int Novfs_update_entry( struct inode *i,
char mtime_buf[32];
char ctime_buf[32];
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
if (name && name->len)
@@ -4966,7 +4966,7 @@ void Novfs_remove_inode_entry( struct in
char *n="<NULL>";
int nl=6;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
dc = Novfs_lookup_inode_cache( i, name, ino );
if (dc)
@@ -5015,7 +5015,7 @@ void Novfs_free_invalid_entries( struct
PDIR_CACHE dc;
struct list_head *l;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
list_for_each( l, &id->DirCache )
{
@@ -5057,7 +5057,7 @@ void Novfs_free_inode_cache( struct inod
PDIR_CACHE dc;
struct list_head *l;
- if ( i && (id = i->u.generic_ip) && id->DirCache.next )
+ if ( i && (id = i->i_private) && id->DirCache.next )
{
list_for_each( l, &id->DirCache )
{
@@ -5109,7 +5109,7 @@ Novfs_dump_inode_cache(int argc, const c
kdb_printf("Inode: 0x%p\n", inode);
if (inode)
{
- id = inode->u.generic_ip;
+ id = inode->i_private;
kdb_printf("INODE_DATA: 0x%p\n", id);
if ( id && id->DirCache.next )

View File

@ -1,11 +0,0 @@
--- novfs-2.0.0/src/daemon.c.orig 2007-05-11 08:55:19.000000000 +0200
+++ novfs-2.0.0/src/daemon.c 2007-05-17 20:37:00.000000000 +0200
@@ -2780,7 +2780,7 @@
{
atomic_inc(&inode->i_count);
}
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
// Version of 2.6.20 changed the number of
// parameters passed to vfs_unlink.
error = vfs_unlink(nd.dentry->d_inode, dentry, nd.mnt);

View File

@ -1,11 +0,0 @@
--- novfs-2.0.0/src/daemon.c.orig 2007-05-11 08:55:19.000000000 +0200
+++ novfs-2.0.0/src/daemon.c 2007-05-17 20:37:00.000000000 +0200
@@ -2780,7 +2780,7 @@
{
atomic_inc(&inode->i_count);
}
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
// Version of 2.6.20 changed the number of
// parameters passed to vfs_unlink.
error = vfs_unlink(nd.dentry->d_inode, dentry, nd.mnt);

View File

@ -1,58 +0,0 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm linux-mod
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Client for Linux Filesystem"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cache.novell.com/prot/2JyMn7sWP_Q~/novell-client-1.2-SLE10.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/linux-sources
!net-misc/novell-novfs"
RESTRICT="nomirror fetch"
BUILD_PARAMS="-C $KERNEL_DIR SUBDIRS=${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src/novfs"
MODULE_NAMES="novfs(novfs:${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src/novfs:${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src/novfs"
BUILD_TARGETS="modules"
MODULESD_NOVFS_ENABLED=""
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/ncl_build_711/NCL_disk/novell/i586/${PN}-${MY_PV}.i586.rpm
cd ${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src
epatch ${FILESDIR}/novell-novfs-1.2.0-dentry.patch
epatch ${FILESDIR}/novell-novfs-1.2.0-getsb.patch
epatch ${FILESDIR}/novell-novfs-1.2.0-getsb-fix.patch
epatch ${FILESDIR}/novell-novfs-1.2.0-dont_use_tasklist_lock.patch
epatch ${FILESDIR}/novell-novfs-1.2.0-license.patch
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
generate_modulesd
}
pkg_postinst() {
linux-mod_pkg_postinst
}
pkg_postrm() {
linux-mod_pkg_postrm
}

View File

@ -1,70 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm linux-mod
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Client for Linux Filesystem"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/src/novfs-${MY_PV}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/linux-sources
!net-misc/novell-novfs"
RESTRICT="nomirror"
#BUILD_PARAMS="-C $KERNEL_DIR SUBDIRS=-${WORKDIR}/novfs-2.0.0/src"
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-2.0.0/src:${WORKDIR}/novfs-2.0.0/src"
BUILD_TARGETS="all"
MODULESD_NOVFS_ENABLED=""
src_unpack() {
rpm_src_unpack ${A}
epatch ${FILESDIR}/novell-novfs-${PV}-vfs.patch
# if kernel_is eq 2 6 15
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-2_6_15-compat.patch
# fi
# if kernel_is ge 2 6 17
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-config_h.patch
# fi
# if kernel_is ge 2 6 18
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-generic_file_read.patch
# fi
# if kernel_is ge 2 6 19
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-i_blksize.patch
# epatch ${FILESDIR}/novell-novfs-2.0.0-u.generic_ip.patch
# fi
# epatch ${FILESDIR}/novell-novfs-2.0.0-dont_use_tasklist_lock.patch
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
generate_modulesd
}
pkg_postinst() {
linux-mod_pkg_postinst
}
pkg_postrm() {
linux-mod_pkg_postrm
}

View File

@ -1,74 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm linux-mod
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Client for Linux Filesystem"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/2JyMn7sWP_Q~/novell-client-1.2-SLE10.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/linux-sources
!net-misc/novell-novfs"
RESTRICT="nomirror"
BUILD_PARAMS="-C $KERNEL_DIR SUBDIRS=${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src/src"
MODULE_NAMES="novfs(novfs:${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src/src:${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src/src"
BUILD_TARGETS="modules"
MODULESD_NOVFS_ENABLED=""
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/ncl_build_711/NCL_disk/novell/i586/${PN}-1.2.0-17.i586.rpm
cd ${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/src
epatch ${FILESDIR}/novell-novfs-1.2.0_to_2.0.0.patch
if kernel_is eq 2 6 15
then
epatch ${FILESDIR}/novell-novfs-2.0.0-2_6_15-compat.patch
fi
if kernel_is ge 2 6 17
then
epatch ${FILESDIR}/novell-novfs-2.0.0-config_h.patch
fi
if kernel_is ge 2 6 18
then
epatch ${FILESDIR}/novell-novfs-2.0.0-generic_file_read.patch
fi
if kernel_is ge 2 6 19
then
epatch ${FILESDIR}/novell-novfs-2.0.0-i_blksize.patch
epatch ${FILESDIR}/novell-novfs-2.0.0-u.generic_ip.patch
fi
epatch ${FILESDIR}/novell-novfs-2.0.0-dont_use_tasklist_lock.patch
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
generate_modulesd
}
pkg_postinst() {
linux-mod_pkg_postinst
}
pkg_postrm() {
linux-mod_pkg_postrm
}

View File

@ -1,70 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm linux-mod
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Client for Linux Filesystem"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/src/novfs-${MY_PV}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/linux-sources
!net-misc/novell-novfs"
RESTRICT="nomirror"
#BUILD_PARAMS="-C $KERNEL_DIR SUBDIRS=-${WORKDIR}/novfs-2.0.0/src"
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-2.0.0/src:${WORKDIR}/novfs-2.0.0/src"
BUILD_TARGETS="all"
MODULESD_NOVFS_ENABLED=""
src_unpack() {
rpm_src_unpack ${A}
epatch ${FILESDIR}/novell-novfs-${PV}-vfs.patch
# if kernel_is eq 2 6 15
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-2_6_15-compat.patch
# fi
# if kernel_is ge 2 6 17
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-config_h.patch
# fi
# if kernel_is ge 2 6 18
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-generic_file_read.patch
# fi
# if kernel_is ge 2 6 19
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-i_blksize.patch
# epatch ${FILESDIR}/novell-novfs-2.0.0-u.generic_ip.patch
# fi
# epatch ${FILESDIR}/novell-novfs-2.0.0-dont_use_tasklist_lock.patch
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
generate_modulesd
}
pkg_postinst() {
linux-mod_pkg_postinst
}
pkg_postrm() {
linux-mod_pkg_postrm
}

View File

@ -1,71 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm linux-mod
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Client for Linux Filesystem"
HOMEPAGE="http://www.novell.com"
SRC_URI="ftp://mars.arge.at/n4g/novfs-${MY_PV}.src.rpm
http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/src/novfs-${MY_PV}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/linux-sources
!net-misc/novell-novfs"
RESTRICT="nomirror"
#BUILD_PARAMS="-C $KERNEL_DIR SUBDIRS=-${WORKDIR}/novfs-2.0.0/src"
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-2.0.0/src:${WORKDIR}/novfs-2.0.0/src"
BUILD_TARGETS="all"
MODULESD_NOVFS_ENABLED=""
src_unpack() {
rpm_src_unpack ${A}
epatch ${FILESDIR}/novell-novfs-2.0.0-vfs.patch
# if kernel_is eq 2 6 15
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-2_6_15-compat.patch
# fi
# if kernel_is ge 2 6 17
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-config_h.patch
# fi
# if kernel_is ge 2 6 18
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-generic_file_read.patch
# fi
# if kernel_is ge 2 6 19
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-i_blksize.patch
# epatch ${FILESDIR}/novell-novfs-2.0.0-u.generic_ip.patch
# fi
# epatch ${FILESDIR}/novell-novfs-2.0.0-dont_use_tasklist_lock.patch
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
generate_modulesd
}
pkg_postinst() {
linux-mod_pkg_postinst
}
pkg_postrm() {
linux-mod_pkg_postrm
}

View File

@ -1,73 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm linux-mod
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Client for Linux Filesystem"
HOMEPAGE="http://www.novell.com"
SRC_URI="ftp://mars.arge.at/n4g/novfs-${MY_PV}.src.rpm
http://ftp.mars.arge.at/n4g/novfs-${MY_PV}.src.rpm
http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/src/novfs-${MY_PV}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/linux-sources
!net-misc/novell-novfs"
RESTRICT="nomirror"
#BUILD_PARAMS="-C $KERNEL_DIR SUBDIRS=-${WORKDIR}/novfs-2.0.0/src"
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-2.0.0/src:${WORKDIR}/novfs-2.0.0/src"
BUILD_TARGETS="all"
MODULESD_NOVFS_ENABLED=""
src_unpack() {
rpm_src_unpack ${A}
epatch ${FILESDIR}/novell-novfs-2.0.0-vfs.patch
epatch ${FILESDIR}/novell-novfs-2.0.0-section_mismatch-1.patch
# if kernel_is eq 2 6 15
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-2_6_15-compat.patch
# fi
# if kernel_is ge 2 6 17
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-config_h.patch
# fi
# if kernel_is ge 2 6 18
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-generic_file_read.patch
# fi
# if kernel_is ge 2 6 19
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-i_blksize.patch
# epatch ${FILESDIR}/novell-novfs-2.0.0-u.generic_ip.patch
# fi
# epatch ${FILESDIR}/novell-novfs-2.0.0-dont_use_tasklist_lock.patch
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
generate_modulesd
}
pkg_postinst() {
linux-mod_pkg_postinst
}
pkg_postrm() {
linux-mod_pkg_postrm
}

View File

@ -1,72 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm linux-mod
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Client for Linux Filesystem"
HOMEPAGE="http://www.novell.com"
SRC_URI="ftp://mars.arge.at/n4g/novfs-${MY_PV}.src.rpm
http://ftp.mars.arge.at/n4g/novfs-${MY_PV}.src.rpm
http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/src/novfs-${MY_PV}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/linux-sources
!net-misc/novell-novfs"
RESTRICT="nomirror"
#BUILD_PARAMS="-C $KERNEL_DIR SUBDIRS=-${WORKDIR}/novfs-2.0.0/src"
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-2.0.0/src:${WORKDIR}/novfs-2.0.0/src"
BUILD_TARGETS="all"
MODULESD_NOVFS_ENABLED=""
src_unpack() {
rpm_src_unpack ${A}
epatch ${FILESDIR}/novell-novfs-2.0.0-vfs.patch
# if kernel_is eq 2 6 15
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-2_6_15-compat.patch
# fi
# if kernel_is ge 2 6 17
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-config_h.patch
# fi
# if kernel_is ge 2 6 18
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-generic_file_read.patch
# fi
# if kernel_is ge 2 6 19
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-i_blksize.patch
# epatch ${FILESDIR}/novell-novfs-2.0.0-u.generic_ip.patch
# fi
# epatch ${FILESDIR}/novell-novfs-2.0.0-dont_use_tasklist_lock.patch
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
generate_modulesd
}
pkg_postinst() {
linux-mod_pkg_postinst
}
pkg_postrm() {
linux-mod_pkg_postrm
}

View File

@ -1,73 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm linux-mod
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Client for Linux Filesystem"
HOMEPAGE="http://www.novell.com"
SRC_URI="ftp://mars.arge.at/n4g/novfs-${MY_PV}.src.rpm
http://ftp.mars.arge.at/n4g/novfs-${MY_PV}.src.rpm
http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/src/novfs-${MY_PV}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/linux-sources
!net-misc/novell-novfs"
RESTRICT="nomirror"
#BUILD_PARAMS="-C $KERNEL_DIR SUBDIRS=-${WORKDIR}/novfs-2.0.0/src"
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-2.0.0/src:${WORKDIR}/novfs-2.0.0/src"
BUILD_TARGETS="all"
MODULESD_NOVFS_ENABLED=""
src_unpack() {
rpm_src_unpack ${A}
epatch ${FILESDIR}/novell-novfs-2.0.0-vfs.patch
epatch ${FILESDIR}/novell-novfs-2.0.0-section_mismatch-1.patch
# if kernel_is eq 2 6 15
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-2_6_15-compat.patch
# fi
# if kernel_is ge 2 6 17
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-config_h.patch
# fi
# if kernel_is ge 2 6 18
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-generic_file_read.patch
# fi
# if kernel_is ge 2 6 19
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-i_blksize.patch
# epatch ${FILESDIR}/novell-novfs-2.0.0-u.generic_ip.patch
# fi
# epatch ${FILESDIR}/novell-novfs-2.0.0-dont_use_tasklist_lock.patch
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
generate_modulesd
}
pkg_postinst() {
linux-mod_pkg_postinst
}
pkg_postrm() {
linux-mod_pkg_postrm
}

View File

@ -1,73 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm linux-mod
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Client for Linux Filesystem"
HOMEPAGE="http://www.novell.com"
SRC_URI="ftp://mars.arge.at/n4g/novfs-${MY_PV}.src.rpm
http://ftp.mars.arge.at/n4g/novfs-${MY_PV}.src.rpm
http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/src/novfs-${MY_PV}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/linux-sources
!net-misc/novell-novfs"
RESTRICT="nomirror"
#BUILD_PARAMS="-C $KERNEL_DIR SUBDIRS=-${WORKDIR}/novfs-2.0.0/src"
MODULE_NAMES="novfs(novfs:${WORKDIR}/novfs-2.0.0/src:${WORKDIR}/novfs-2.0.0/src"
BUILD_TARGETS="all"
MODULESD_NOVFS_ENABLED=""
src_unpack() {
rpm_src_unpack ${A}
epatch ${FILESDIR}/novell-novfs-2.0.0-vfs.patch
epatch ${FILESDIR}/novell-novfs-2.0.0-section_mismatch-1.patch
# if kernel_is eq 2 6 15
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-2_6_15-compat.patch
# fi
# if kernel_is ge 2 6 17
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-config_h.patch
# fi
# if kernel_is ge 2 6 18
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-generic_file_read.patch
# fi
# if kernel_is ge 2 6 19
# then
# epatch ${FILESDIR}/novell-novfs-2.0.0-i_blksize.patch
# epatch ${FILESDIR}/novell-novfs-2.0.0-u.generic_ip.patch
# fi
# epatch ${FILESDIR}/novell-novfs-2.0.0-dont_use_tasklist_lock.patch
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
generate_modulesd
}
pkg_postinst() {
linux-mod_pkg_postinst
}
pkg_postrm() {
linux-mod_pkg_postrm
}