bcachefs: Fix creation of lost+found

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2019-10-11 15:03:32 -04:00 committed by Kent Overstreet
parent ea3532cbf7
commit 05240ba6b8

View File

@ -1011,7 +1011,7 @@ int bch2_fs_initialize(struct bch_fs *c)
bch2_create_trans(&trans, BCACHEFS_ROOT_INO,
&root_inode, &lostfound_inode,
&lostfound,
0, 0, 0755, 0,
0, 0, S_IFDIR|0755, 0,
NULL, NULL));
if (ret)
goto err;