diff options
-rwxr-xr-x | cmd/zpool/zpool.d/smart | 1 | ||||
-rw-r--r-- | include/os/linux/spl/sys/shrinker.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cmd/zpool/zpool.d/smart b/cmd/zpool/zpool.d/smart index 874528d66..f8854b752 100755 --- a/cmd/zpool/zpool.d/smart +++ b/cmd/zpool/zpool.d/smart @@ -71,6 +71,7 @@ fi smartctl_path=$(command -v smartctl) +# shellcheck disable=SC2015 if [ -b "$VDEV_UPATH" ] && [ -x "$smartctl_path" ] || [ -n "$samples" ] ; then if [ -n "$samples" ] ; then # cat a smartctl output text file instead of running smartctl diff --git a/include/os/linux/spl/sys/shrinker.h b/include/os/linux/spl/sys/shrinker.h index e608cd30c..e519a527c 100644 --- a/include/os/linux/spl/sys/shrinker.h +++ b/include/os/linux/spl/sys/shrinker.h @@ -97,7 +97,7 @@ static struct shrinker varname = { \ static struct shrinker varname = { \ .count_objects = countfunc, \ .scan_objects = scanfunc, \ - .seeks = seek_cost \ + .seeks = seek_cost \ } #else |