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:
b19dbf9
)
- Fixed uninitialized flags, which tricked ldlm_cli_enqueue into thinking
author
pschwan
<pschwan>
Mon, 28 Oct 2002 19:10:32 +0000
(19:10 +0000)
committer
pschwan
<pschwan>
Mon, 28 Oct 2002 19:10:32 +0000
(19:10 +0000)
that it was in recovery
lustre/mds/handler.c
patch
|
blob
|
history
diff --git
a/lustre/mds/handler.c
b/lustre/mds/handler.c
index
cb340bc
..
cd2f300
100644
(file)
--- a/
lustre/mds/handler.c
+++ b/
lustre/mds/handler.c
@@
-139,7
+139,7
@@
struct dentry *mds_name2locked_dentry(struct obd_device *obd,
int dir_lock_mode)
{
struct dentry *dchild;
- int flags, rc;
+ int flags
= 0
, rc;
__u64 res_id[3] = {0};
ENTRY;
@@
-179,7
+179,7
@@
struct dentry *mds_fid2locked_dentry(struct obd_device *obd, struct ll_fid *fid,
{
struct mds_obd *mds = &obd->u.mds;
struct dentry *de = mds_fid2dentry(mds, fid, mnt), *retval = de;
- int flags, rc;
+ int flags
= 0
, rc;
__u64 res_id[3] = {0};
ENTRY;