summaryrefslogtreecommitdiff
path: root/fs/xfs/Makefile
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2014-07-15 08:07:01 +1000
committerDave Chinner <david@fromorbit.com>2014-07-15 08:07:01 +1000
commita31b1d3d89e40f585a1c6745b066774ee3263eb2 (patch)
tree89f547e925078ab1fb8c24136508b62deaa45915 /fs/xfs/Makefile
parent3d8712265c26546823b38eb97487262500ff13db (diff)
downloadlwn-a31b1d3d89e40f585a1c6745b066774ee3263eb2.tar.gz
lwn-a31b1d3d89e40f585a1c6745b066774ee3263eb2.zip
xfs: add xfs_mount sysfs kobject
Embed a base kobject into xfs_mount. This creates a kobject associated with each XFS mount and a subdirectory in sysfs with the name of the filesystem. The subdirectory lifecycle matches that of the mount. Also add the new xfs_sysfs.[c,h] source files with some XFS sysfs infrastructure to facilitate attribute creation. Note that there are currently no attributes exported as part of the xfs_mount kobject. It exists solely to serve as a per-mount container for child objects. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/Makefile')
-rw-r--r--fs/xfs/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile
index 0dfa26d626f5..d61799949580 100644
--- a/fs/xfs/Makefile
+++ b/fs/xfs/Makefile
@@ -86,6 +86,7 @@ xfs-y += xfs_aops.o \
xfs_mru_cache.o \
xfs_super.o \
xfs_symlink.o \
+ xfs_sysfs.o \
xfs_trans.o \
xfs_xattr.o \
kmem.o \