From: pschwan Date: Wed, 20 Mar 2002 22:27:04 +0000 (+0000) Subject: - mds_open/mds_close had an unbalanced mnt put/get. I'm still not clear on why X-Git-Tag: v1_7_100~5894 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=b43559b9cf08d73c356cb4fd199311591bdd8527;p=fs%2Flustre-release.git - mds_open/mds_close had an unbalanced mnt put/get. I'm still not clear on why _every_ caller to mds_fid2dentry doesn't have this problem, but an extra mntput fixed this one. - oops. I committed my really large llmount.sh. Fixed. --- diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index 7e77ce7..d788b57 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -279,6 +279,7 @@ int mds_close(struct ptlrpc_request *req) req->rq_rephdr->status = filp_close(file, 0); dput(de); + mntput(mnt); return 0; } diff --git a/lustre/tests/llmount.sh b/lustre/tests/llmount.sh index 7f836ff..dd2d690 100755 --- a/lustre/tests/llmount.sh +++ b/lustre/tests/llmount.sh @@ -15,7 +15,7 @@ add_uuid ost quit EOF -new_fs ext2 /tmp/ost 80000 +new_fs ext2 /tmp/ost 10000 OST=$LOOPDEV MDSFS=ext2 new_fs ${MDSFS} /tmp/mds 10000