Re: [PATCH] AOSP: erofs-utils: fix sub-directory prefix for canned fs_config

2020-12-28 Thread Gao Xiang
On Mon, Dec 28, 2020 at 06:03:26PM +0800, Huang Jianan wrote: > > 在 2020/12/26 14:27, Gao Xiang 写道: ... > > + if (!cfg.mount_point || > > + /* have to drop the mountpoint for rootdir of canned fsconfig */ > > + (cfg.fs_config_file && IS_ROOT(inode))) { > > Hi Xiang, > > I have

Re: [PATCH] AOSP: erofs-utils: fix sub-directory prefix for canned fs_config

2020-12-28 Thread Huang Jianan
在 2020/12/26 14:27, Gao Xiang 写道: From: Gao Xiang "failed to find [%s] in canned fs_config" was observed by using "--fs-config-file" option as reported by Yue Hu [1]. The root cause was that the mountpoint prefix to subdirectories is also needed if "--mount-point" presents. However, such

Re: [PATCH] AOSP: erofs-utils: fix sub-directory prefix for canned fs_config

2020-12-27 Thread Yue Hu
On Sat, 26 Dec 2020 14:27:36 +0800 Gao Xiang wrote: > From: Gao Xiang > > "failed to find [%s] in canned fs_config" was observed by using > "--fs-config-file" option as reported by Yue Hu [1]. > > The root cause was that the mountpoint prefix to subdirectories is > also needed if

[PATCH] AOSP: erofs-utils: fix sub-directory prefix for canned fs_config

2020-12-25 Thread Gao Xiang via Linux-erofs
From: Gao Xiang "failed to find [%s] in canned fs_config" was observed by using "--fs-config-file" option as reported by Yue Hu [1]. The root cause was that the mountpoint prefix to subdirectories is also needed if "--mount-point" presents. However, such prefix cannot be added by just using