[LTP] [PATCH 4/4] syscalls/fanotify15: verify fid for dirent events

Amir Goldstein amir73il@gmail.com
Thu Apr 18 21:10:17 CEST 2019


On Thu, Apr 18, 2019 at 9:58 PM Cyril Hrubis <chrubis@suse.cz> wrote:
>
> Hi!
> > Is anybody else seeing these errors with all_filesystems?
> >
> > tst_test.c:1157: INFO: Testing on xfs
> > tst_mkfs.c:90: INFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
> > mkfs.xfs: Use the -f option to force overwrite.
> > tst_mkfs.c:101: BROK: mkfs.xfs:1: tst_test.c failed with 751
>
> That looks strange. If I'm looking at this correctly the 751 is returned
> from tst_run_cmd() which basically returns the value from waitpid() but
> we call WEXITSTATUS() there before we return the number, which should
> return only least significant 8 bits.
>
> So as far as I can tell this output is impossible.
>

Don't know about that, but the fact is that mkfs.xfs refuses to format
a device that has an existing filesystem on it without the -f flag.

Does that ring a bell?
I think it may be because I upgraded xfsprogs to v4.20.
Maybe that's a mkfs.xfs bug.

Thanks,
Amir.


More information about the ltp mailing list