summaryrefslogtreecommitdiffstats
path: root/fs/ntfs/mft.c
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cantab.net>2006-03-23 16:18:23 +0000
committerAnton Altaparmakov <aia21@cantab.net>2006-03-23 16:18:23 +0000
commita778f217328a7391e0919b6463ec7f143851d12d (patch)
tree2f6837d70e52d9c3a46678c1efb975cd61a5dcf0 /fs/ntfs/mft.c
parent2c2c8c1c211c75d0cc9d7642a569ceac1aecd96d (diff)
downloadlinux-a778f217328a7391e0919b6463ec7f143851d12d.tar.gz
linux-a778f217328a7391e0919b6463ec7f143851d12d.tar.bz2
linux-a778f217328a7391e0919b6463ec7f143851d12d.zip
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:
* fs/ntfs/aops.c::mark_ntfs_record_dirty().
*
* On success, clean the mft record and return 0. On error, leave the mft
- * record dirty and return -errno. The caller should call make_bad_inode() on
- * the base inode to ensure no more access happens to this inode. We do not do
- * it here as the caller may want to finish writing other extent mft records
- * first to minimize on-disk metadata inconsistencies.
+ * record dirty and return -errno.
*
* NOTE: We always perform synchronous i/o and ignore the @sync parameter.
* However, if the mft record has a counterpart in the mft mirror and @sync is