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:
76bf666
)
- second part of shrink fix
author
braam
<braam>
Tue, 2 Apr 2002 16:34:01 +0000
(16:34 +0000)
committer
braam
<braam>
Tue, 2 Apr 2002 16:34:01 +0000
(16:34 +0000)
lustre/mds/handler.c
patch
|
blob
|
history
diff --git
a/lustre/mds/handler.c
b/lustre/mds/handler.c
index
2b79f26
..
a52ffc1
100644
(file)
--- a/
lustre/mds/handler.c
+++ b/
lustre/mds/handler.c
@@
-210,7
+210,7
@@
int mds_getattr(struct ptlrpc_request *req)
rep->nlink = inode->i_nlink;
rep->valid = ~0;
mds_fs_get_objid(mds, inode, &rep->objid);
- dput(de);
+
l_
dput(de);
return 0;
}
@@
-278,7
+278,7
@@
int mds_close(struct ptlrpc_request *req)
file = (struct file *)(unsigned long) req->rq_req.mds->objid;
req->rq_rephdr->status = filp_close(file, 0);
- dput(de);
+
l_
dput(de);
mntput(mnt);
return 0;
}
@@
-560,7
+560,6
@@
static int mds_cleanup(struct obd_device * obddev)
#ifdef CONFIG_DEV_RDONLY
dev_clear_rdonly(2);
#endif
-
OBD_FREE(s_ops, sizeof(*s_ops));
MOD_DEC_USE_COUNT;