bcachefs: Fix creation of lost+found
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
ea3532cbf7
commit
05240ba6b8
@ -1011,7 +1011,7 @@ int bch2_fs_initialize(struct bch_fs *c)
|
|||||||
bch2_create_trans(&trans, BCACHEFS_ROOT_INO,
|
bch2_create_trans(&trans, BCACHEFS_ROOT_INO,
|
||||||
&root_inode, &lostfound_inode,
|
&root_inode, &lostfound_inode,
|
||||||
&lostfound,
|
&lostfound,
|
||||||
0, 0, 0755, 0,
|
0, 0, S_IFDIR|0755, 0,
|
||||||
NULL, NULL));
|
NULL, NULL));
|
||||||
if (ret)
|
if (ret)
|
||||||
goto err;
|
goto err;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user