commit | 218357ff1b1b2f1bfdce89d608dbe33dd2f9f14b | [log] [tgz] |
---|---|---|
author | Anton Altaparmakov <aia21@cantab.net> | Thu Nov 18 20:34:59 2004 +0000 |
committer | Anton Altaparmakov <aia21@cantab.net> | Thu May 05 10:34:45 2005 +0100 |
tree | b7621daec3c516507fed85a25e9e82198589f216 | |
parent | 206f9f35b2348b7b966ff18a5564b8a3ca325ed5 [diff] |
NTFS: - Use i_size_read() in fs/ntfs/super.c once and then use the cached value afterwards. Cache the initialized_size in the same way and protect access to the two sizes using the size_lock. - Minor optimization to fs/ntfs/super.c::ntfs_statfs() and its helpers. Signed-off-by: Anton Altaparmakov <aia21@cantab.net>