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
(parent:
3b51285
)
dput() is only needed is alias was returned
author
tappro
<tappro>
Sun, 3 Sep 2006 20:11:46 +0000
(20:11 +0000)
committer
tappro
<tappro>
Sun, 3 Sep 2006 20:11:46 +0000
(20:11 +0000)
lustre/osd/osd_handler.c
patch
|
blob
|
history
diff --git
a/lustre/osd/osd_handler.c
b/lustre/osd/osd_handler.c
index
86e36f6
..
24cd390
100644
(file)
--- a/
lustre/osd/osd_handler.c
+++ b/
lustre/osd/osd_handler.c
@@
-1656,13
+1656,12
@@
static int osd_index_compat_lookup(const struct lu_context *ctxt,
(struct lu_fid *)rec);
else
result = -ENOENT;
- d = dentry;
- } else {
+ } else {
/* What? Disconnected alias? Ppheeeww... */
CERROR("Aliasing where not expected\n");
result = -EIO;
+ dput(d);
}
- dput(d);
dput(dentry);
} else
result = -ENOMEM;