Whamcloud - gitweb
- mds_open/mds_close had an unbalanced mnt put/get. I'm still not clear on why
authorpschwan <pschwan>
Wed, 20 Mar 2002 22:27:04 +0000 (22:27 +0000)
committerpschwan <pschwan>
Wed, 20 Mar 2002 22:27:04 +0000 (22:27 +0000)
  _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
lustre/tests/llmount.sh

index 7e77ce7..d788b57 100644 (file)
@@ -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;
 }
 
index 7f836ff..dd2d690 100755 (executable)
@@ -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