]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - fs/nfs/unlink.c
fsnotify: move fsnotify_nameremove() hook out of d_delete()
[mirror_ubuntu-jammy-kernel.git] / fs / nfs / unlink.c
index 52d5339674850a95a7432444bfa1e65776d5ded0..0effeee28352fa87fef4d5b6b97fff65b25977dc 100644 (file)
@@ -396,12 +396,6 @@ nfs_complete_sillyrename(struct rpc_task *task, struct nfs_renamedata *data)
                nfs_cancel_async_unlink(dentry);
                return;
        }
-
-       /*
-        * vfs_unlink and the like do not issue this when a file is
-        * sillyrenamed, so do it here.
-        */
-       fsnotify_nameremove(dentry, 0);
 }
 
 #define SILLYNAME_PREFIX ".nfs"