commit | 367636772f094fd840d2d79e75257bcfaa28e70f | [log] [tgz] |
---|---|---|
author | Anton Altaparmakov <aia21@cantab.net> | Thu Nov 18 13:46:45 2004 +0000 |
committer | Anton Altaparmakov <aia21@cantab.net> | Thu May 05 10:30:29 2005 +0100 |
tree | a8d8f3154eea80710a8cad2b7de082046aa012f0 | |
parent | 899101aebb9ab3692aa8efe2805174ee0ee3edb5 [diff] |
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>