vfs: mnt_drop_write_file()

new helper (wrapper around mnt_drop_write()) to be used in pair with
mnt_want_write_file().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2011-12-09 08:06:57 -05:00
parent 8c9379e972
commit 2a79f17e4a
22 changed files with 55 additions and 48 deletions

View File

@ -1508,7 +1508,7 @@ void file_update_time(struct file *file)
if (sync_it & S_MTIME)
inode->i_mtime = now;
mark_inode_dirty_sync(inode);
mnt_drop_write(file->f_path.mnt);
mnt_drop_write_file(file);
}
EXPORT_SYMBOL(file_update_time);