summaryrefslogtreecommitdiff
path: root/fs/ntfs/mft.c
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cantab.net>2006-03-23 18:59:32 +0300
committerAnton Altaparmakov <aia21@cantab.net>2006-03-23 18:59:32 +0300
commitf95c4018fd4b0bdef9b1bcb4eac7056e2a07282a (patch)
tree44014b7cb3aff48f008033c23425ff2b37fed34b /fs/ntfs/mft.c
parenta0646a1f04f1ec4c7514e5b00496b54e054a2c99 (diff)
downloadlinux-f95c4018fd4b0bdef9b1bcb4eac7056e2a07282a.tar.xz
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;