Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4176fa0
)
- ost_brw_write() should return an error rather than uninitialized npages
author
alex
<alex>
Thu, 22 Jul 2004 09:08:10 +0000
(09:08 +0000)
committer
alex
<alex>
Thu, 22 Jul 2004 09:08:10 +0000
(09:08 +0000)
lustre/ost/ost_handler.c
patch
|
blob
|
history
diff --git
a/lustre/ost/ost_handler.c
b/lustre/ost/ost_handler.c
index
3cbf75f
..
9015771
100644
(file)
--- a/
lustre/ost/ost_handler.c
+++ b/
lustre/ost/ost_handler.c
@@
-603,7
+603,7
@@
int ost_brw_write(struct ptlrpc_request *req, struct obd_trans_info *oti)
/* Do snap options here*/
rc = obd_do_cow(req->rq_export, ioo, objcount, remote_nb);
if (rc)
- GOTO(out, rc
= npages
);
+ GOTO(out, rc);
/* FIXME all niobuf splitting should be done in obdfilter if needed */
/* CAVEAT EMPTOR this sets ioo->ioo_bufcnt to # pages */