aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ntfs/mft.c
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cantab.net>2006-03-23 11:18:23 -0500
committerAnton Altaparmakov <aia21@cantab.net>2006-03-23 11:18:23 -0500
commita778f217328a7391e0919b6463ec7f143851d12d (patch)
tree2f6837d70e52d9c3a46678c1efb975cd61a5dcf0 /fs/ntfs/mft.c
parent2c2c8c1c211c75d0cc9d7642a569ceac1aecd96d (diff)
NTFS: Fix a bug in fs/ntfs/inode.c::ntfs_read_locked_index_inode() where we
forgot to update a temporary variable so loading index inodes which have an index allocation attribute failed. Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/mft.c')
-rw-r--r--fs/ntfs/mft.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/ntfs/mft.c b/fs/ntfs/mft.c
index 7254391b0e50..eb3eb143a32c 100644
--- a/fs/ntfs/mft.c
+++ b/fs/ntfs/mft.c
@@ -651,10 +651,7 @@ err_out:
651 * fs/ntfs/aops.c::mark_ntfs_record_dirty(). 651 * fs/ntfs/aops.c::mark_ntfs_record_dirty().
652 * 652 *
653 * On success, clean the mft record and return 0. On error, leave the mft 653 * On success, clean the mft record and return 0. On error, leave the mft
654 * record dirty and return -errno. The caller should call make_bad_inode() on 654 * record dirty and return -errno.
655 * the base inode to ensure no more access happens to this inode. We do not do
656 * it here as the caller may want to finish writing other extent mft records
657 * first to minimize on-disk metadata inconsistencies.
658 * 655 *
659 * NOTE: We always perform synchronous i/o and ignore the @sync parameter. 656 * NOTE: We always perform synchronous i/o and ignore the @sync parameter.
660 * However, if the mft record has a counterpart in the mft mirror and @sync is 657 * However, if the mft record has a counterpart in the mft mirror and @sync is