Linux: Implement FS_IOC_GETVERSION

Provide access to file generation number on Linux.

Add test coverage.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Ryan Moeller <freqlabs@FreeBSD.org>
Closes #12856
This commit is contained in:
Ryan Moeller
2021-12-17 19:18:37 -05:00
committed by GitHub
parent 82e414f1b2
commit 3fa5266d72
14 changed files with 226 additions and 0 deletions
+1
View File
@@ -32,6 +32,7 @@ SUBDIRS = \
if BUILD_LINUX
SUBDIRS += \
getversion \
randfree_file \
user_ns_exec \
xattrtest