Re: [PATCH v2 2/2] erofs: use get_tree_bdev_flags() to avoid misleading messages

2024-10-09 Thread Gao Xiang
On 2024/10/9 15:37, Gao Xiang wrote: Hi Christoph, ... diff --git a/fs/erofs/super.c b/fs/erofs/super.c index 666873f745da..b89836a8760d 100644 --- a/fs/erofs/super.c +++ b/fs/erofs/super.c @@ -705,7 +705,9 @@ static int erofs_fc_get_tree(struct fs_context *fc)   if (IS_ENABLED(CONFI

Re: [PATCH v2 2/2] erofs: use get_tree_bdev_flags() to avoid misleading messages

2024-10-09 Thread Gao Xiang
Hi Christoph, On 2024/10/9 15:31, Christoph Hellwig wrote: On Wed, Oct 09, 2024 at 11:31:51AM +0800, Gao Xiang wrote: Users can pass in an arbitrary source path for the proper type of a mount then without "Can't lookup blockdev" error message. Reported-by: Allison Karlitskaya Closes: https:/

Re: [PATCH v2 2/2] erofs: use get_tree_bdev_flags() to avoid misleading messages

2024-10-09 Thread Christoph Hellwig
On Wed, Oct 09, 2024 at 11:31:51AM +0800, Gao Xiang wrote: > Users can pass in an arbitrary source path for the proper type of > a mount then without "Can't lookup blockdev" error message. > > Reported-by: Allison Karlitskaya > Closes: > https://lore.kernel.org/r/CAOYeF9VQ8jKVmpy5Zy9DNhO6xmWSKMB

[PATCH v2 2/2] erofs: use get_tree_bdev_flags() to avoid misleading messages

2024-10-08 Thread Gao Xiang
Users can pass in an arbitrary source path for the proper type of a mount then without "Can't lookup blockdev" error message. Reported-by: Allison Karlitskaya Closes: https://lore.kernel.org/r/CAOYeF9VQ8jKVmpy5Zy9DNhO6xmWSKMB-DO8yvBB0XvBE7=3...@mail.gmail.com Signed-off-by: Gao Xiang --- change