mirror_zfs/module/os/linux
Andrew f609739985
expose snapshot count via stat(2) of .zfs/snapshot (#13559)
Increase nlinks in stat results of ./zfs/snapshot based on snapshot
count. This provides quick and efficient method for administrators to
get snapshot counts without having to use libzfs or list the snapdir
contents.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Closes #13559
2022-06-17 11:44:49 -07:00
..
spl spl: Use a clearer name for the user namespace fd 2022-06-14 08:14:19 -07:00
zfs expose snapshot count via stat(2) of .zfs/snapshot (#13559) 2022-06-17 11:44:49 -07:00