diff options
author | Jeff Layton <jlayton@redhat.com> | 2014-03-17 15:06:58 +0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-03-17 23:14:17 +0400 |
commit | f7be728468263fcbaa1e9dcae83fb97a88b4127c (patch) | |
tree | 778750a4e2eb18c2a84e0514dd3fa88afbb0a858 /net/sunrpc | |
parent | 33912be816d96e204ed7a93690552daa39c08ea9 (diff) | |
download | linux-f7be728468263fcbaa1e9dcae83fb97a88b4127c.tar.xz |
nfs: emit a fsnotify_nameremove call in sillyrename codepath
If a file is sillyrenamed, then the generic vfs_unlink code will skip
emitting fsnotify events for it.
This patch has the sillyrename code do that instead.
In truth this is a little bit odd since we aren't actually removing the
dentry per-se, but renaming it. Still, this is probably the right thing
to do since it's what userland apps expect to see when an unlink()
occurs or some file is renamed on top of the dentry.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Tested-by: Anna Schumaker <Anna.Schumaker@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions