diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-10-11 15:03:32 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:29 -0400 |
commit | 05240ba6b897995d4d4086f7f4accc7858ee0a40 (patch) | |
tree | 3cd8ae3536f00a6721082b9011b1fac1ce7c71dd /fs/bcachefs/recovery.c | |
parent | ea3532cbf7fdbb9fa4e45114532d55d1fc3ac7c2 (diff) | |
download | lwn-05240ba6b897995d4d4086f7f4accc7858ee0a40.tar.gz lwn-05240ba6b897995d4d4086f7f4accc7858ee0a40.zip |
bcachefs: Fix creation of lost+found
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/recovery.c')
-rw-r--r-- | fs/bcachefs/recovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/recovery.c b/fs/bcachefs/recovery.c index 095eef3828ce..23f3ed54fadd 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; |