Message ID | 20230307114507.332309-10-rodrigo@sdfg.com.ar (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Tests for idmapped tmpfs | expand |
On Tue, Mar 07, 2023 at 12:45:05PM +0100, Rodrigo Campos wrote: > This will be used by tests that call other tests within themselves. > > Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar> > --- > src/vfs/utils.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git src/vfs/utils.h src/vfs/utils.h > index 4c796559..c52a0738 100644 > --- src/vfs/utils.h > +++ src/vfs/utils.h > @@ -45,6 +45,8 @@ > #define DIR2 "dir2" > #define DIR3 "dir3" > #define DIR1_RENAME "dir1_rename" > +// This directory may be used by tests that call another test. > +#define DIR0 "dir0" I think you can fold that into whatever patch is using this, same for the addition of t->in_user_ns thing...
On 3/7/23 17:53, Christian Brauner wrote: > On Tue, Mar 07, 2023 at 12:45:05PM +0100, Rodrigo Campos wrote: >> This will be used by tests that call other tests within themselves. >> >> Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar> >> --- >> src/vfs/utils.h | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git src/vfs/utils.h src/vfs/utils.h >> index 4c796559..c52a0738 100644 >> --- src/vfs/utils.h >> +++ src/vfs/utils.h >> @@ -45,6 +45,8 @@ >> #define DIR2 "dir2" >> #define DIR3 "dir3" >> #define DIR1_RENAME "dir1_rename" >> +// This directory may be used by tests that call another test. >> +#define DIR0 "dir0" > > I think you can fold that into whatever patch is using this, same for > the addition of t->in_user_ns thing... Will do both, thanks!
diff --git src/vfs/utils.h src/vfs/utils.h index 4c796559..c52a0738 100644 --- src/vfs/utils.h +++ src/vfs/utils.h @@ -45,6 +45,8 @@ #define DIR2 "dir2" #define DIR3 "dir3" #define DIR1_RENAME "dir1_rename" +// This directory may be used by tests that call another test. +#define DIR0 "dir0" #define HARDLINK1 "hardlink1" #define SYMLINK1 "symlink1" #define SYMLINK_USER1 "symlink_user1"
This will be used by tests that call other tests within themselves. Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar> --- src/vfs/utils.h | 2 ++ 1 file changed, 2 insertions(+)