diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index f7dcd86ee599cd27a42f9b06ff917f6423e8c17d..68a84520270e0f3ec61a7af1f9740f1f96526933 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -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