diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-02-26 10:46:55 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-02-26 10:46:55 -0500 |
commit | c673024aba596e57c07196cb3400cdcc9d28f3aa (patch) | |
tree | f4ec44ea5d4896141ae597d50f62d4199d44d962 /fs/btrfs | |
parent | fec577fb7f516e0d12ff821b1af272fd754e120a (diff) |
Btrfs: fixup dbfile perms
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index f4c6ff202ba..c42dc72706b 100644 --- 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; |