patch-2.1.110 linux/fs/ntfs/fs.c
Next file: linux/fs/super.c
Previous file: linux/fs/ntfs/attr.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Jul 17 10:33:35 1998
- Orig file:
v2.1.109/linux/fs/ntfs/fs.c
- Orig date:
Mon Apr 6 17:41:01 1998
diff -u --recursive --new-file v2.1.109/linux/fs/ntfs/fs.c linux/fs/ntfs/fs.c
@@ -827,7 +827,7 @@
/* Inform the kernel that a device block is a NTFS cluster */
sb->s_blocksize=vol->clustersize;
- for(i=sb->s_blocksize,sb->s_blocksize_bits=0;i;i>>=1)
+ for(i=sb->s_blocksize,sb->s_blocksize_bits=0;i != 1;i>>=1)
sb->s_blocksize_bits++;
set_blocksize(sb->s_dev,sb->s_blocksize);
ntfs_debug(DEBUG_OTHER, "set_blocksize\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov