linux-stable/fs/nfs
Jeff Layton f7be728468 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>
2014-03-17 15:14:17 -04:00
..
blocklayout
objlayout
cache_lib.c
cache_lib.h
callback.c
callback.h
callback_proc.c NFSv4.1: Minor optimisation in get_layout_by_fh_locked() 2014-02-19 21:21:06 -05:00
callback_xdr.c
client.c
delegation.c
delegation.h
dir.c nfs: convert nfs_rename to use async_rename infrastructure 2014-03-17 15:14:17 -04:00
direct.c
dns_resolve.c
dns_resolve.h
file.c
fscache-index.c
fscache.c
fscache.h
getroot.c
idmap.c
inode.c NFS: Be more aggressive in using readdirplus for 'ls -l' situations 2014-02-11 14:01:20 -05:00
internal.h nfs: make nfs_async_rename non-static 2014-03-17 15:14:16 -04:00
iostat.h
Kconfig
Makefile
mount_clnt.c
namespace.c
netns.h
nfs.h
nfs2super.c
nfs2xdr.c
nfs3acl.c NFSv3: Fix return value of nfs3_proc_setacls 2014-02-03 13:14:23 -05:00
nfs3client.c
nfs3proc.c nfs: remove synchronous rename code 2014-03-17 15:14:17 -04:00
nfs3super.c
nfs3xdr.c
nfs4_fs.h NFSv4: Clear the open state flags if the new stateid does not match 2014-02-19 21:21:07 -05:00
nfs4client.c NFSv4.1: nfs4_destroy_session must call rpc_destroy_waitqueue 2014-02-01 15:13:39 -05:00
nfs4file.c
nfs4filelayout.c NFSv4.1: Cleanup 2014-01-29 12:26:57 -05:00
nfs4filelayout.h
nfs4filelayoutdev.c
nfs4getroot.c
nfs4namespace.c
nfs4proc.c nfs: remove synchronous rename code 2014-03-17 15:14:17 -04:00
nfs4renewd.c
nfs4session.c NFSv4.1: nfs4_destroy_session must call rpc_destroy_waitqueue 2014-02-01 15:13:39 -05:00
nfs4session.h NFSv4.1: nfs4_destroy_session must call rpc_destroy_waitqueue 2014-02-01 15:13:39 -05:00
nfs4state.c NFSv4: Clear the open state flags if the new stateid does not match 2014-02-19 21:21:07 -05:00
nfs4super.c
nfs4sysctl.c
nfs4trace.c
nfs4trace.h
nfs4xdr.c nfs: initialize the ACL support bits to zero. 2014-01-31 08:28:16 -05:00
nfsroot.c
nfstrace.c
nfstrace.h NFS: fix the handling of NFS_INO_INVALID_DATA flag in nfs_revalidate_mapping 2014-01-27 15:35:56 -05:00
pagelist.c
pnfs.c NFSv4.1: Ensure that we free existing layout segments if we get a new layout 2014-02-19 21:21:06 -05:00
pnfs.h
pnfs_dev.c
proc.c nfs: remove synchronous rename code 2014-03-17 15:14:17 -04:00
read.c
super.c
symlink.c
sysctl.c
unlink.c nfs: emit a fsnotify_nameremove call in sillyrename codepath 2014-03-17 15:14:17 -04:00
write.c nfs: add memory barriers around NFS_INO_INVALID_DATA and NFS_INO_INVALIDATING 2014-01-28 14:48:18 -05:00