NTFS: - In fs/ntfs/compress.c, use i_size_read() at the start and then use the
authorAnton Altaparmakov <aia21@cantab.net>
Thu, 18 Nov 2004 13:46:45 +0000 (13:46 +0000)
committerAnton Altaparmakov <aia21@cantab.net>
Thu, 5 May 2005 09:30:29 +0000 (10:30 +0100)
commit367636772f094fd840d2d79e75257bcfaa28e70f
treea8d8f3154eea80710a8cad2b7de082046aa012f0
parent899101aebb9ab3692aa8efe2805174ee0ee3edb5
NTFS: - In fs/ntfs/compress.c, use i_size_read() at the start and then use the
cached value everywhere.  Cache the initialized_size in the same way
and protect the critical region where the two sizes are read using the
new size_lock of the ntfs inode.
      - Add the new size_lock to the ntfs_inode structure (fs/ntfs/inode.h)
and initialize it (fs/ntfs/inode.c).

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
fs/ntfs/ChangeLog
fs/ntfs/compress.c
fs/ntfs/inode.c
fs/ntfs/inode.h