[LTP] [PATCH v7 4/4] syscalls/fsmount01: Add test for fsmount series API
Petr Vorel
pvorel@suse.cz
Mon Feb 17 15:04:52 CET 2020
Hi,
> > + if (ismount(MNTPOINT)) {
> > + tst_res(TPASS, "new mount API works");
> > + SAFE_UMOUNT(MNTPOINT);
> > + is_mounted = 0;
> > + } else
> > + tst_res(TFAIL, "new mount API works");
> ^
> "device not mounted" ?
+1.
> Also LKML coding style prefers curly braces over both branches if they
> are required over one of them.
I'll fix this.
> Other than this the patchset looks fine.
+ I'll add sort as a separate change.
Kind regards,
Petr
More information about the ltp
mailing list