X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fntfs%2Fmft.h;fp=fs%2Fntfs%2Fmft.h;h=407de2cef1d6592633fa15f62a03ca46b49caa25;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=639cd1bab08b7919c3307964faaf75f525717950;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/fs/ntfs/mft.h b/fs/ntfs/mft.h index 639cd1bab..407de2cef 100644 --- a/fs/ntfs/mft.h +++ b/fs/ntfs/mft.h @@ -97,7 +97,10 @@ 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. + * 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. */ static inline int write_mft_record(ntfs_inode *ni, MFT_RECORD *m, int sync) {