Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=15599 hsm infrastructure
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
darwin
/
darwin-fs.c
diff --git
a/libcfs/libcfs/darwin/darwin-fs.c
b/libcfs/libcfs/darwin/darwin-fs.c
index
b592d88
..
2234082
100644
(file)
--- a/
libcfs/libcfs/darwin/darwin-fs.c
+++ b/
libcfs/libcfs/darwin/darwin-fs.c
@@
-448,7
+448,7
@@
int cfs_oflags2univ(int flags)
{
int f;
- f = flags & O_
ACCMODE
;
+ f = flags & O_
NOACCESS
;
f |= (flags & O_CREAT) ? CFS_O_CREAT: 0;
f |= (flags & O_TRUNC) ? CFS_O_TRUNC: 0;
f |= (flags & O_EXCL) ? CFS_O_EXCL: 0;