projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'drm-misc-fixes-2023-08-24' of git://anongit.freedesktop.org/drm/drm-misc...
[linux-2.6-microblaze.git]
/
fs
/
namei.c
diff --git
a/fs/namei.c
b/fs/namei.c
index
91171da
..
e56ff39
100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-4874,8
+4874,7
@@
int vfs_rename(struct renamedata *rd)
d_exchange(old_dentry, new_dentry);
}
out:
- if (source)
- inode_unlock(source);
+ inode_unlock(source);
if (target)
inode_unlock(target);
dput(new_dentry);