Whamcloud - gitweb
- returning correct error code from mds_statfs() amd mds_sync(), as otherwise it...
authoryury <yury>
Sat, 26 Feb 2005 10:57:40 +0000 (10:57 +0000)
committeryury <yury>
Sat, 26 Feb 2005 10:57:40 +0000 (10:57 +0000)
lustre/mds/handler.c

index f7dcd86..68a8452 100644 (file)
@@ -1233,7 +1233,7 @@ static int mds_statfs(struct ptlrpc_request *req)
         EXIT;
 out:
         req->rq_status = rc;
-        return 0;
+        return rc;
 }
 
 static int mds_sync(struct ptlrpc_request *req, int offset)
@@ -1280,7 +1280,7 @@ static int mds_sync(struct ptlrpc_request *req, int offset)
         EXIT;
 out:
         req->rq_status = rc;
-        return 0;
+        return rc;
 }
 
 /* mds_readpage does not take a DLM lock on the inode, because the client must