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:
b9e8a24
)
Add UID/GID to lctl create, to work around BA OST bug.
author
adilger
<adilger>
Wed, 9 Oct 2002 23:29:10 +0000
(23:29 +0000)
committer
adilger
<adilger>
Wed, 9 Oct 2002 23:29:10 +0000
(23:29 +0000)
lustre/utils/obd.c
patch
|
blob
|
history
diff --git
a/lustre/utils/obd.c
b/lustre/utils/obd.c
index
eaa2ce4
..
3860e99
100644
(file)
--- a/
lustre/utils/obd.c
+++ b/
lustre/utils/obd.c
@@
-810,8
+810,10
@@
int jt_obd_create(int argc, char **argv)
for (i = 1, next_count = verbose; i <= count; i++) {
data.ioc_obdo1.o_mode = mode;
data.ioc_obdo1.o_id = i;
+ data.ioc_obdo1.o_uid = 0;
+ data.ioc_obdo1.o_gid = 0;
data.ioc_obdo1.o_valid = OBD_MD_FLTYPE | OBD_MD_FLMODE |
-
OBD_MD_FLID
;
+
OBD_MD_FLID | OBD_MD_FDUID | OBD_MD_FLGID;
;
rc = ioctl(fd, OBD_IOC_CREATE, &data);
SHMEM_BUMP();