From: Anton Altaparmakov Date: Thu, 18 Nov 2004 13:46:45 +0000 (+0000) Subject: NTFS: - In fs/ntfs/compress.c, use i_size_read() at the start and then use the X-Git-Tag: v2.6.13-rc4~89^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=367636772f094fd840d2d79e75257bcfaa28e70f;p=pandora-kernel.git 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 --- Reading git-diff-tree failed