[LTP] [PATCH v3 1/2] libswap: add two methods to create swapfile

Petr Vorel pvorel@suse.cz
Fri Mar 22 06:32:17 CET 2024


Hi Li,

> > -       char mnt_path[100];
> > +       char mnt_path[128];

> > nit: why this increase to 128? Why not PATH_MAX?


> No special meaning, I just thought of using 2 raised to the nth power.
> But you're right, PATCH_MAX will be safer.

+1

...

> Thanks, I would give the patch set more time in case others have comments.

Sure. Thanks for a nice work!

Kind regards,
Petr


More information about the ltp mailing list