patch-2.3.30 linux/fs/ntfs/fs.c
Next file: linux/fs/ntfs/super.c
Previous file: linux/fs/nfsd/nfsctl.c
Back to the patch index
Back to the overall index
- Lines: 42
- Date:
Sun Dec 5 08:42:03 1999
- Orig file:
v2.3.29/linux/fs/ntfs/fs.c
- Orig date:
Tue Aug 31 17:29:14 1999
diff -u --recursive --new-file v2.3.29/linux/fs/ntfs/fs.c linux/fs/ntfs/fs.c
@@ -442,10 +442,8 @@
NULL, /* get_block */
NULL, /* readpage */
NULL, /* writepage */
- NULL, /* flushpage */
NULL, /* truncate */
NULL, /* permission */
- NULL, /* smap */
NULL, /* revalidate */
};
@@ -625,10 +623,8 @@
ntfs_bmap, /* get_block */
block_read_full_page, /* readpage */
NULL, /* writepage */
- NULL, /* flushpage */
NULL, /* truncate */
NULL, /* permission */
- NULL, /* smap */
NULL, /* revalidate */
};
@@ -674,10 +670,8 @@
NULL, /* get_block */
NULL, /* readpage */
NULL, /* writepage */
- NULL, /* flushpage */
NULL, /* truncate */
NULL, /* permission */
- NULL, /* smap */
NULL, /* revalidate */
};
@@ -835,7 +829,7 @@
/* Number of files is limited by free space only, so we lie here */
fs.f_ffree=0;
mft=iget(sb,FILE_MFT);
- fs.f_files=mft->i_size/vol->mft_recordsize;
+ fs.f_files=mft->i_size >> vol->mft_recordbits;
iput(mft);
/* should be read from volume */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)