commit | c673024aba596e57c07196cb3400cdcc9d28f3aa | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Mon Feb 26 10:46:55 2007 -0500 |
committer | David Woodhouse <dwmw2@hera.kernel.org> | Mon Feb 26 10:46:55 2007 -0500 |
tree | f4ec44ea5d4896141ae597d50f62d4199d44d962 | |
parent | fec577fb7f516e0d12ff821b1af272fd754e120a [diff] |
Btrfs: fixup dbfile perms Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index f4c6ff2..c42dc72 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c
@@ -113,7 +113,7 @@ 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;