UPSTREAM: erofs-utils: fsck: don't set attributes when fscking only

Otherwise, when --extract is specified, it will report:
<W> erofs: erofsfsck_set_attributes() Line[189] failed to set times: (null)
<W> erofs: erofsfsck_set_attributes() Line[197] failed to set permissions: (null)
...

Link: https://lore.kernel.org/r/20220126033726.15865-2-hsiangkao@linux.alibaba.com
Fixes: 412c8f908132 ("erofs-utils: fsck: add --extract=X support to extract to path X")
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Change-Id: I405d8fea9f7436a6a2572e021d986fcef7ef42eb
1 file changed