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:
324afee
)
Return an error when we read zero bytes from the MDS last_rcvd file.
author
adilger
<adilger>
Mon, 15 Sep 2003 15:14:33 +0000
(15:14 +0000)
committer
adilger
<adilger>
Mon, 15 Sep 2003 15:14:33 +0000
(15:14 +0000)
lustre/mds/mds_fs.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_fs.c
b/lustre/mds/mds_fs.c
index
224591a
..
40d281b
100644
(file)
--- a/
lustre/mds/mds_fs.c
+++ b/
lustre/mds/mds_fs.c
@@
-252,7
+252,7
@@
static int mds_read_last_rcvd(struct obd_device *obd, struct file *file)
if (rc != sizeof(*msd)) {
CERROR("error reading MDS %s: rc = %d\n", LAST_RCVD,rc);
- if (rc > 0)
+ if (rc >
=
0)
rc = -EIO;
GOTO(err_msd, rc);
}