X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fntfs%2Fmft.h;h=407de2cef1d6592633fa15f62a03ca46b49caa25;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=639cd1bab08b7919c3307964faaf75f525717950;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;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) {