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:
78b034f
)
Add lfsck support to lustre kernel code.
author
adilger
<adilger>
Tue, 10 Feb 2004 23:56:26 +0000
(23:56 +0000)
committer
adilger
<adilger>
Tue, 10 Feb 2004 23:56:26 +0000
(23:56 +0000)
b=2349
r=adilger
lustre/osc/osc_create.c
patch
|
blob
|
history
diff --git
a/lustre/osc/osc_create.c
b/lustre/osc/osc_create.c
index
149ff44
..
845b306
100644
(file)
--- a/
lustre/osc/osc_create.c
+++ b/
lustre/osc/osc_create.c
@@
-216,6
+216,11
@@
int osc_create(struct obd_export *exp, struct obdo *oa,
if ((oa->o_valid & OBD_MD_FLGROUP) && (oa->o_gr != 0))
RETURN(osc_real_create(exp, oa, ea, oti));
+ if ((oa->o_valid & OBD_MD_FLFLAGS) &&
+ oa->o_flags == OBD_FL_RECREATE_OBJS) {
+ RETURN(osc_real_create(exp, oa, ea, oti));
+ }
+
lsm = *ea;
if (lsm == NULL) {
rc = obd_alloc_memmd(exp, &lsm);