Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b0ae46f
)
b=16074
author
green
<green>
Thu, 13 Nov 2008 00:42:02 +0000
(
00:42
+0000)
committer
green
<green>
Thu, 13 Nov 2008 00:42:02 +0000
(
00:42
+0000)
r=adilger, Lee Ward
Do not get extra reference on source inode since we already hold the reference
from previous name.
libsysio/src/rename.c
patch
|
blob
|
history
diff --git
a/libsysio/src/rename.c
b/libsysio/src/rename.c
index
c0f4967
..
05606ca
100644
(file)
--- a/
libsysio/src/rename.c
+++ b/
libsysio/src/rename.c
@@
-176,7
+176,6
@@
SYSIO_INTERFACE_NAME(rename)(const char *oldpath, const char *newpath)
I_GONE(new->p_base->pb_ino);
new->p_base->pb_ino = old->p_base->pb_ino;
old->p_base->pb_ino = NULL;
- I_REF(new->p_base->pb_ino);
short_out:
error1: