summaryrefslogtreecommitdiffstats
path: root/fs/ntfs/inode.c
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cantab.net>2004-11-18 21:34:59 +0100
committerAnton Altaparmakov <aia21@cantab.net>2005-05-05 11:34:45 +0200
commit218357ff1b1b2f1bfdce89d608dbe33dd2f9f14b (patch)
treeb7621daec3c516507fed85a25e9e82198589f216 /fs/ntfs/inode.c
parentNTFS: In fs/ntfs/dir.c, use i_size_read() once and then the cached value (diff)
downloadlinux-218357ff1b1b2f1bfdce89d608dbe33dd2f9f14b.tar.xz
linux-218357ff1b1b2f1bfdce89d608dbe33dd2f9f14b.zip
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>
Diffstat (limited to 'fs/ntfs/inode.c')
0 files changed, 0 insertions, 0 deletions