]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
sysfs: Update s_iattr on link and unlink.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 21 Nov 2009 00:08:51 +0000 (16:08 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 19:24:53 +0000 (11:24 -0800)
commit6b0bfe9383a54cf35046980c61f5ff8fefa557d7
tree3206ee6374ba6b735e97ce7af60ed8a48df0df9c
parent35df63c46c8605d00140ec4833d2104e2e9f1acc
sysfs: Update s_iattr on link and unlink.

Currently sysfs updates the timestamps on the vfs directory
inode when we create or remove a directory entry but doesn't
update the cached copy on the sysfs_dirent, fix that oversight.

Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/dir.c