aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ntfs/ChangeLog
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cantab.net>2004-11-18 08:46:45 -0500
committerAnton Altaparmakov <aia21@cantab.net>2005-05-05 05:30:29 -0400
commit367636772f094fd840d2d79e75257bcfaa28e70f (patch)
treea8d8f3154eea80710a8cad2b7de082046aa012f0 /fs/ntfs/ChangeLog
parent899101aebb9ab3692aa8efe2805174ee0ee3edb5 (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>
Diffstat (limited to 'fs/ntfs/ChangeLog')
-rw-r--r--fs/ntfs/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/ntfs/ChangeLog b/fs/ntfs/ChangeLog
index 6d2a99c13d30..97c4fe932046 100644
--- a/fs/ntfs/ChangeLog
+++ b/fs/ntfs/ChangeLog
@@ -34,6 +34,13 @@ ToDo/Notes:
34 - Use i_size_read() once and then use the cached value in 34 - Use i_size_read() once and then use the cached value in
35 fs/ntfs/lcnalloc.c::ntfs_cluster_alloc(). 35 fs/ntfs/lcnalloc.c::ntfs_cluster_alloc().
36 - Use i_size_read() in fs/ntfs/file.c::ntfs_file_open(). 36 - Use i_size_read() in fs/ntfs/file.c::ntfs_file_open().
37 - Add size_lock to the ntfs_inode structure. This is an rw spinlock
38 and it locks against access to the inode sizes. Note, ->size_lock
39 is also accessed from irq context so you must use the _irqsave and
40 _irqrestore lock and unlock functions, respectively.
41 - Use i_size_read() in fs/ntfs/compress.c at the start of the read and
42 use the cached value afterwards. Cache the initialized_size in the
43 same way and protect access to the two sizes using the size_lock.
37 44
382.1.22 - Many bug and race fixes and error handling improvements. 452.1.22 - Many bug and race fixes and error handling improvements.
39 46