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:
2a320c5
)
Add permission bits when we open with O_CREAT (b=624321).
author
adilger
<adilger>
Thu, 17 Oct 2002 08:31:32 +0000
(08:31 +0000)
committer
adilger
<adilger>
Thu, 17 Oct 2002 08:31:32 +0000
(08:31 +0000)
lustre/tests/lovstripe.c
patch
|
blob
|
history
diff --git
a/lustre/tests/lovstripe.c
b/lustre/tests/lovstripe.c
index
4c19dba
..
5f004e4
100644
(file)
--- a/
lustre/tests/lovstripe.c
+++ b/
lustre/tests/lovstripe.c
@@
-66,7
+66,7
@@
int write_file(char *name, struct lov_user_md *striping)
int fd, result;
printf("opening %s\n", name);
- fd = open(name, O_CREAT | O_RDWR | O_LOV_DELAY_CREATE);
+ fd = open(name, O_CREAT | O_RDWR | O_LOV_DELAY_CREATE
, 0644
);
if (fd < 0) {
fprintf(stderr, "\nUnable to open '%s': %s\n",
name, strerror(errno));