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:
d5c1963
)
Ensure that the file type is valid.
author
adilger
<adilger>
Fri, 5 Apr 2002 20:29:39 +0000
(20:29 +0000)
committer
adilger
<adilger>
Fri, 5 Apr 2002 20:29:39 +0000
(20:29 +0000)
lustre/mds/mds_reint.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_reint.c
b/lustre/mds/mds_reint.c
index
1d1cd59
..
cdaba15
100644
(file)
--- a/
lustre/mds/mds_reint.c
+++ b/
lustre/mds/mds_reint.c
@@
-134,6
+134,9
@@
static int mds_reint_create(struct mds_update_record *rec,
EXIT;
break;
}
+ default:
+ CERROR("bad file type %d for create of %s\n",type,rec->ur_name);
+ GOTO(out_reint_create, rc = -EINVAL);
}
if (rc) {