forked from luck/tmp_suning_uos_patched
sysfs: Push file_update_time() into bin_page_mkwrite()
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
a63e9b2e76
commit
14ae417c6f
|
@ -228,6 +228,8 @@ static int bin_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf)
|
|||
ret = 0;
|
||||
if (bb->vm_ops->page_mkwrite)
|
||||
ret = bb->vm_ops->page_mkwrite(vma, vmf);
|
||||
else
|
||||
file_update_time(file);
|
||||
|
||||
sysfs_put_active(attr_sd);
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue
Block a user