From b43559b9cf08d73c356cb4fd199311591bdd8527 Mon Sep 17 00:00:00 2001 From: pschwan Date: Wed, 20 Mar 2002 22:27:04 +0000 Subject: [PATCH] - 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. --- lustre/mds/handler.c | 1 + lustre/tests/llmount.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 1.8.3.1