summaryrefslogtreecommitdiff
path: root/fs/ntfs/mft.h
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cantab.net>2006-03-23 15:59:32 +0000
committerAnton Altaparmakov <aia21@cantab.net>2006-03-23 15:59:32 +0000
commitf95c4018fd4b0bdef9b1bcb4eac7056e2a07282a (patch)
tree44014b7cb3aff48f008033c23425ff2b37fed34b /fs/ntfs/mft.h
parenta0646a1f04f1ec4c7514e5b00496b54e054a2c99 (diff)
downloadlwn-f95c4018fd4b0bdef9b1bcb4eac7056e2a07282a.tar.gz
lwn-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.h')
-rw-r--r--fs/ntfs/mft.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/ntfs/mft.h b/fs/ntfs/mft.h
index 407de2cef1d6..639cd1bab08b 100644
--- a/fs/ntfs/mft.h
+++ b/fs/ntfs/mft.h
@@ -97,10 +97,7 @@ extern int write_mft_record_nolock(ntfs_inode *ni, MFT_RECORD *m, int sync);
* uptodate.
*
* 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.
*/
static inline int write_mft_record(ntfs_inode *ni, MFT_RECORD *m, int sync)
{