diff options
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/dir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 2df639f143e8..94a7fcee0624 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c | |||
@@ -1539,7 +1539,8 @@ static int nfs_rename(struct inode *old_dir, struct dentry *old_dentry, | |||
1539 | #endif | 1539 | #endif |
1540 | goto out; | 1540 | goto out; |
1541 | } | 1541 | } |
1542 | } | 1542 | } else |
1543 | new_inode->i_nlink--; | ||
1543 | 1544 | ||
1544 | go_ahead: | 1545 | go_ahead: |
1545 | /* | 1546 | /* |