projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f3b86b
)
fixup dbfile perms
author
Chris Mason
<chris.mason@oracle.com>
Mon, 26 Feb 2007 15:46:55 +0000
(10:46 -0500)
committer
David Woodhouse
<dwmw2@hera.kernel.org>
Mon, 26 Feb 2007 15:46:55 +0000
(10:46 -0500)
disk-io.c
patch
|
blob
|
history
diff --git
a/disk-io.c
b/disk-io.c
index
f4c6ff2
..
c42dc72
100644
(file)
--- a/
disk-io.c
+++ b/
disk-io.c
@@
-113,7
+113,7
@@
struct ctree_root *open_ctree(char *filename, struct ctree_super_block *super)
int fp;
int ret;
- fp = open(filename, O_CREAT | O_RDWR);
+ fp = open(filename, O_CREAT | O_RDWR
, 0600
);
if (fp < 0) {
free(root);
return NULL;