diff options
author | 2005-08-25 16:25:34 -0700 | |
---|---|---|
committer | 2005-09-23 12:37:58 -0400 | |
commit | 20509f1bc553ed7fafa88fa8d01c6212d1876d9f (patch) | |
tree | da10ad62009995269dc0733a254a0bc1f6293aa2 /include/linux/sunrpc/debug.h | |
parent | [PATCH] pci: fixup parent subordinate busnr (diff) | |
download | wireguard-linux-20509f1bc553ed7fafa88fa8d01c6212d1876d9f.tar.xz wireguard-linux-20509f1bc553ed7fafa88fa8d01c6212d1876d9f.zip |
NFS: Drop inode after rename
When doing a rename on top of an existing file that is not in use,
the inode of the overwritten file will remain in the icache.
The fix is to decrement i_nlink of the overwritten inode, like we
do for unlink, rmdir etc already.
Problem diagnosed by Olaf Kirch. This patch is a slight variation
on his fix.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/debug.h')
0 files changed, 0 insertions, 0 deletions