]> git.proxmox.com Git - mirror_zfs.git/commit
Linux: Implement FS_IOC_GETVERSION
authorRyan Moeller <freqlabs@FreeBSD.org>
Sat, 18 Dec 2021 00:18:37 +0000 (19:18 -0500)
committerGitHub <noreply@github.com>
Sat, 18 Dec 2021 00:18:37 +0000 (16:18 -0800)
commit3fa5266d727a0e9506dfeed0118cbe7dd3c2a18d
tree311331500e79bfbdb0d79c5a5ae6bb831bc85273
parent82e414f1b2e4d3c45d107b79da4a750485038c83
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
14 files changed:
configure.ac
module/os/linux/zfs/zpl_file.c
tests/runfiles/common.run
tests/zfs-tests/cmd/Makefile.am
tests/zfs-tests/cmd/getversion/.gitignore [new file with mode: 0644]
tests/zfs-tests/cmd/getversion/Makefile.am [new file with mode: 0644]
tests/zfs-tests/cmd/getversion/getversion.c [new file with mode: 0644]
tests/zfs-tests/include/commands.cfg
tests/zfs-tests/include/libtest.shlib
tests/zfs-tests/tests/functional/Makefile.am
tests/zfs-tests/tests/functional/stat/Makefile.am [new file with mode: 0644]
tests/zfs-tests/tests/functional/stat/cleanup.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/stat/setup.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/stat/stat_001_pos.ksh [new file with mode: 0755]