summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_error.c
diff options
context:
space:
mode:
authorChristoph Hellwig2017-11-06 20:53:59 +0100
committerDarrick J. Wong2017-11-06 20:57:39 +0100
commit4371155e8040b6bbfe0c20101a55fae7cafc2461 (patch)
tree7d8a324e6b17b87b23f395ebcd004f55f6cbb87e /fs/xfs/xfs_error.c
parentxfs: trivial sparse fixes for the new scrub code (diff)
downloadkernel-qcow2-linux-4371155e8040b6bbfe0c20101a55fae7cafc2461.tar.gz
kernel-qcow2-linux-4371155e8040b6bbfe0c20101a55fae7cafc2461.tar.xz
kernel-qcow2-linux-4371155e8040b6bbfe0c20101a55fae7cafc2461.zip
xfs: mark xfs_errortag_ktype static
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_error.c')
-rw-r--r--fs/xfs/xfs_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_error.c b/fs/xfs/xfs_error.c
index 92396d5eb259..4c9f35d983b2 100644
--- a/fs/xfs/xfs_error.c
+++ b/fs/xfs/xfs_error.c
@@ -203,7 +203,7 @@ static struct attribute *xfs_errortag_attrs[] = {
NULL,
};
-struct kobj_type xfs_errortag_ktype = {
+static struct kobj_type xfs_errortag_ktype = {
.release = xfs_sysfs_release,
.sysfs_ops = &xfs_errortag_sysfs_ops,
.default_attrs = xfs_errortag_attrs,