From: Jeff Layton Date: Mon, 17 Mar 2014 11:06:58 +0000 (-0400) Subject: nfs: emit a fsnotify_nameremove call in sillyrename codepath X-Git-Tag: v3.15-rc1~66^2~12^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7be728468263fcbaa1e9dcae83fb97a88b4127c;p=pandora-kernel.git 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 Tested-by: Anna Schumaker Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed