<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/tools/testing/selftests/filesystems/fat/Makefile, branch master</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>selftests/filesystems: add a vfat RENAME_EXCHANGE test</title>
<updated>2022-06-17T02:58:22+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javierm@redhat.com</email>
</author>
<published>2022-06-10T07:57:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=dd7c9be330d87732766a95cfd7a6de38bf7a39c3'/>
<id>dd7c9be330d87732766a95cfd7a6de38bf7a39c3</id>
<content type='text'>
Add a test for the renameat2 RENAME_EXCHANGE support in vfat, but split it
in a tool that just does the rename exchange and a script that is run by
the kselftests framework on `make TARGETS="filesystems/fat" kselftest`.

That way the script can be easily extended to test other file operations.

The script creates a 1 MiB disk image, that is then formated with a vfat
filesystem and mounted using a loop device.  That way all file operations
are done on an ephemeral filesystem.

Link: https://lkml.kernel.org/r/20220610075721.1182745-5-javierm@redhat.com
Signed-off-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Acked-by: Muhammad Usama Anjum &lt;usama.anjum@collabora.com&gt;
Acked-by: OGAWA Hirofumi &lt;hirofumi@mail.parknet.co.jp&gt;
Cc: Alexander Larsson &lt;alexl@redhat.com&gt;
Cc: Christian Kellner &lt;ckellner@redhat.com&gt;
Cc: Chung-Chiang Cheng &lt;cccheng@synology.com&gt;
Cc: Colin Walters &lt;walters@verbum.org&gt;
Cc: Lennart Poettering &lt;lennart@poettering.net&gt;
Cc: Peter Jones &lt;pjones@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a test for the renameat2 RENAME_EXCHANGE support in vfat, but split it
in a tool that just does the rename exchange and a script that is run by
the kselftests framework on `make TARGETS="filesystems/fat" kselftest`.

That way the script can be easily extended to test other file operations.

The script creates a 1 MiB disk image, that is then formated with a vfat
filesystem and mounted using a loop device.  That way all file operations
are done on an ephemeral filesystem.

Link: https://lkml.kernel.org/r/20220610075721.1182745-5-javierm@redhat.com
Signed-off-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Acked-by: Muhammad Usama Anjum &lt;usama.anjum@collabora.com&gt;
Acked-by: OGAWA Hirofumi &lt;hirofumi@mail.parknet.co.jp&gt;
Cc: Alexander Larsson &lt;alexl@redhat.com&gt;
Cc: Christian Kellner &lt;ckellner@redhat.com&gt;
Cc: Chung-Chiang Cheng &lt;cccheng@synology.com&gt;
Cc: Colin Walters &lt;walters@verbum.org&gt;
Cc: Lennart Poettering &lt;lennart@poettering.net&gt;
Cc: Peter Jones &lt;pjones@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
