linux-yocto/tools/testing/selftests/filesystems/statmount
Abhinav Jain b4bcdff7e8 selftests: filesystems: fix warn_unused_result build warnings
Add return value checks for read & write calls in test_listmount_ns
function. This patch resolves below compilation warnings:

```
statmount_test_ns.c: In function ‘test_listmount_ns’:

statmount_test_ns.c:322:17: warning: ignoring return value of ‘write’
declared with attribute ‘warn_unused_result’ [-Wunused-result]

statmount_test_ns.c:323:17: warning: ignoring return value of ‘read’
declared with attribute ‘warn_unused_result’ [-Wunused-result]
```

Signed-off-by: Abhinav Jain <jain.abhinav177@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2024-09-03 11:42:55 -06:00
..
.gitignore
Makefile selftests: add a test for the foreign mnt ns extensions 2024-06-28 14:36:42 +02:00
statmount_test_ns.c selftests: filesystems: fix warn_unused_result build warnings 2024-09-03 11:42:55 -06:00
statmount_test.c vfs-6.11.mount 2024-07-15 11:54:04 -07:00
statmount.h selftests: add a test for the foreign mnt ns extensions 2024-06-28 14:36:42 +02:00