[PATCH] wrong stat of NTFS volume in linux-kernel 2.4.0

2001-01-07 Thread Willem Dekker
in the syslog. (printk) Willem Dekker Patch to adapt super.c of the ntfs filesystem. On a stock linux 2.4.0 kernel. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

[PATCH] wrong stat of NTFS volume in linux-kernel 2.4.0

2001-01-07 Thread Willem Dekker
in the syslog. (printk) Willem Dekker Patch to adapt super.c of the ntfs filesystem. On a stock linux 2.4.0 kernel. --- fs/ntfs/super.orig Tue Nov 7 20:22:35 2000 +++ fs/ntfs/super.c Sun Jan 7 22:34:43 2001 @@ -300,6 +300,82 @@ return 0; } +static ntfs_u64 div_by_power_of_2(ntfs_u64