Skip to content
Snippets Groups Projects
Commit 35103a9a authored by Yury Umanets's avatar Yury Umanets
Browse files

- returning correct error code from mds_statfs() amd mds_sync(), as otherwise...

- returning correct error code from mds_statfs() amd mds_sync(), as otherwise it may cause segfault in mds_handle().
parent 2d0ca68b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment