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:
6cd39e7
)
Minor cleanups, get ready to make statfs not complain.
author
adilger
<adilger>
Tue, 23 Apr 2002 07:33:49 +0000
(07:33 +0000)
committer
adilger
<adilger>
Tue, 23 Apr 2002 07:33:49 +0000
(07:33 +0000)
lustre/llite/super.c
patch
|
blob
|
history
diff --git
a/lustre/llite/super.c
b/lustre/llite/super.c
index
dd426b4
..
e08e1cb
100644
(file)
--- a/
lustre/llite/super.c
+++ b/
lustre/llite/super.c
@@
-129,6
+129,7
@@
static struct super_block * ll_read_super(struct super_block *sb,
err = connmgr_connect(ptlrpc_connmgr, sbi->ll_mds_conn);
if (err) {
CERROR("cannot connect to MDS\n");
+ ptlrpc_put_connection(sbi->ll_mds_conn);
GOTO(out_disc, sb = NULL);
}
@@
-294,8
+295,8
@@
static int ll_statfs(struct super_block *sb, struct statfs *buf)
int err;
ENTRY;
- err = obd_statfs(
ID(sb)
, &tmp);
- if (
err ) {
+ err = obd_statfs(
&ll_s2sbi(sb)->ll_conn
, &tmp);
+ if (
err) {
CERROR("obd_statfs fails (%d)\n", err);
RETURN(err);
}