projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fec577f
)
Btrfs: 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)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/disk-io.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/disk-io.c
b/fs/btrfs/disk-io.c
index
f4c6ff2
..
c42dc72
100644
(file)
--- a/
fs/btrfs/disk-io.c
+++ b/
fs/btrfs/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;