From: Kent Overstreet Date: Fri, 11 Oct 2019 19:03:32 +0000 (-0400) Subject: bcachefs: Fix creation of lost+found X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=05240ba6b897995d4d4086f7f4accc7858ee0a40;p=linux.git bcachefs: Fix creation of lost+found Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/recovery.c b/fs/bcachefs/recovery.c index 095eef3828cec..23f3ed54faddd 100644 --- a/fs/bcachefs/recovery.c +++ b/fs/bcachefs/recovery.c @@ -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;