]> Git Repo - linux.git/commit
xfs: add xlog sysfs kobject and attribute handlers
authorBrian Foster <[email protected]>
Mon, 14 Jul 2014 22:07:29 +0000 (08:07 +1000)
committerDave Chinner <[email protected]>
Mon, 14 Jul 2014 22:07:29 +0000 (08:07 +1000)
commitbaff4e44b92aad363dcce176b907a369ee8b348e
tree273b69069917ee59eeed0472b34a590a519c3b9b
parenta31b1d3d89e40f585a1c6745b066774ee3263eb2
xfs: add xlog sysfs kobject and attribute handlers

Embed a kobject into the xfs log data structure (xlog). This creates a
'log' subdirectory for every XFS mount instance in sysfs. The lifecycle
of the log kobject is tied to the lifecycle of the log.

Also define a set of generic attribute handlers associated with the log
kobject in preparation for the addition of attributes.

Signed-off-by: Brian Foster <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_priv.h
fs/xfs/xfs_sysfs.c
fs/xfs/xfs_sysfs.h
This page took 0.054841 seconds and 4 git commands to generate.