From 05240ba6b897995d4d4086f7f4accc7858ee0a40 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 11 Oct 2019 15:03:32 -0400 Subject: [PATCH] bcachefs: Fix creation of lost+found Signed-off-by: Kent Overstreet --- fs/bcachefs/recovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2