projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a63e9b2
)
sysfs: Push file_update_time() into bin_page_mkwrite()
author
Jan Kara
<jack@suse.cz>
Tue, 12 Jun 2012 14:20:27 +0000
(16:20 +0200)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 30 Jul 2012 21:02:47 +0000
(
01:02
+0400)
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>
fs/sysfs/bin.c
patch
|
blob
|
history
diff --git
a/fs/sysfs/bin.c
b/fs/sysfs/bin.c
index
a475983
..
614b2b5
100644
(file)
--- a/
fs/sysfs/bin.c
+++ b/
fs/sysfs/bin.c
@@
-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;