]> git.baikalelectronics.ru Git - kernel.git/commit
NTFS: Fix read regression.
authorAnton Altaparmakov <aia21@cam.ac.uk>
Sat, 3 Nov 2007 07:38:59 +0000 (07:38 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 3 Nov 2007 19:27:21 +0000 (12:27 -0700)
commitb78e1a3e4a8ae5ca0df84909ed9ecb452ded38bd
tree8cee9ff6f9e0a08c6f08853e38e563514e92a99e
parentbf5b2c947522c6aa00a50e9f41b060a029ed800f
NTFS: Fix read regression.

The regression was caused by:
        commit[e6ecc35be1132e79149e61f2b893aafa802edc22] Fix read/truncate race

This causes ntfs_readpage() to be called for a zero i_size inode, which
failed when the file was compressed and non-resident.

Thanks a lot to Mike Galbraith for reporting the issue and tracking down
the commit that caused the regression.

Looking into it I found three bugs which the patch fixes.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Tested-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ntfs/aops.c
fs/ntfs/attrib.c
fs/ntfs/compress.c