mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-17 13:27:42 +07:00
Btrfs: fixup dbfile perms
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
fec577fb7f
commit
c673024aba
@ -113,7 +113,7 @@ struct ctree_root *open_ctree(char *filename, struct ctree_super_block *super)
|
|||||||
int fp;
|
int fp;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
fp = open(filename, O_CREAT | O_RDWR);
|
fp = open(filename, O_CREAT | O_RDWR, 0600);
|
||||||
if (fp < 0) {
|
if (fp < 0) {
|
||||||
free(root);
|
free(root);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user