diff options
author | Anton Altaparmakov <aia21@cantab.net> | 2006-03-23 16:59:32 +0100 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2006-03-23 16:59:32 +0100 |
commit | f95c4018fd4b0bdef9b1bcb4eac7056e2a07282a (patch) | |
tree | 44014b7cb3aff48f008033c23425ff2b37fed34b /fs/ntfs/attrib.c | |
parent | NTFS: Add support for sparse files which have a compression unit of 0. (diff) | |
download | linux-f95c4018fd4b0bdef9b1bcb4eac7056e2a07282a.tar.xz 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/attrib.c')
-rw-r--r-- | fs/ntfs/attrib.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/ntfs/attrib.c b/fs/ntfs/attrib.c index 7a568eb7d80f..1663f5c3c6aa 100644 --- a/fs/ntfs/attrib.c +++ b/fs/ntfs/attrib.c @@ -2438,16 +2438,12 @@ undo_alloc: "chkdsk to recover.", IS_ERR(m) ? "restore attribute search context" : "truncate attribute runlist"); - make_bad_inode(vi); - make_bad_inode(VFS_I(base_ni)); NVolSetErrors(vol); } else if (mp_rebuilt) { if (ntfs_attr_record_resize(m, a, attr_len)) { ntfs_error(vol->sb, "Failed to restore attribute " "record in error code path. Run " "chkdsk to recover."); - make_bad_inode(vi); - make_bad_inode(VFS_I(base_ni)); NVolSetErrors(vol); } else /* if (success) */ { if (ntfs_mapping_pairs_build(vol, (u8*)a + le16_to_cpu( @@ -2460,8 +2456,6 @@ undo_alloc: "mapping pairs array in error " "code path. Run chkdsk to " "recover."); - make_bad_inode(vi); - make_bad_inode(VFS_I(base_ni)); NVolSetErrors(vol); } flush_dcache_mft_record_page(ctx->ntfs_ino); |