Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
expose snapshot count via stat(2) of .zfs/snapshot (openzfs#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 <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Andrew Walker <[email protected]> Closes openzfs#13559
- Loading branch information