summaryrefslogtreecommitdiffstats
path: root/fs/ntfs/mft.c
diff options
context:
space:
mode:
authorAnton Altaparmakov2006-03-23 16:59:32 +0100
committerAnton Altaparmakov2006-03-23 16:59:32 +0100
commitf95c4018fd4b0bdef9b1bcb4eac7056e2a07282a (patch)
tree44014b7cb3aff48f008033c23425ff2b37fed34b /fs/ntfs/mft.c
parentNTFS: Add support for sparse files which have a compression unit of 0. (diff)
downloadkernel-qcow2-linux-f95c4018fd4b0bdef9b1bcb4eac7056e2a07282a.tar.gz
kernel-qcow2-linux-f95c4018fd4b0bdef9b1bcb4eac7056e2a07282a.tar.xz
kernel-qcow2-linux-f95c4018fd4b0bdef9b1bcb4eac7056e2a07282a.zip
NTFS: Remove all the make_bad_inode() calls. This should only be called
from read inode and new inode code paths. Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/mft.c')
-rw-r--r--fs/ntfs/mft.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ntfs/mft.c b/fs/ntfs/mft.c
index 6499aafc2258..7254391b0e50 100644
--- a/fs/ntfs/mft.c
+++ b/fs/ntfs/mft.c
@@ -93,6 +93,7 @@ static inline MFT_RECORD *map_mft_record_page(ntfs_inode *ni)
"Run chkdsk.", ni->mft_no);
ntfs_unmap_page(page);
page = ERR_PTR(-EIO);
+ NVolSetErrors(vol);
}
err_out:
ni->page = NULL;