diff options
author | Tim Shimmin <tes@sgi.com> | 2007-05-08 13:49:59 +1000 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2007-05-08 13:49:59 +1000 |
commit | e6a0e9cdff79e1406e5653f759aaf9f59b7ce4c8 (patch) | |
tree | 8ed29f012d7eb40ea7f4f1d2f89bbd58c5f51f04 /fs/xfs/linux-2.6/xfs_buf.c | |
parent | f10bb2dad02a846966064a531ba6eec301bbb9e0 (diff) | |
download | kernel-crypto-e6a0e9cdff79e1406e5653f759aaf9f59b7ce4c8.tar.gz kernel-crypto-e6a0e9cdff79e1406e5653f759aaf9f59b7ce4c8.tar.xz kernel-crypto-e6a0e9cdff79e1406e5653f759aaf9f59b7ce4c8.zip |
[XFS] Export via a function xfs_buftarg_list for use by kdb/xfsidbg.
SGI-PV: 963465
SGI-Modid: xfs-linux-melb:xfs-kern:28414a
Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_buf.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_buf.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c index 69e9e80735d..fe4f66a5af1 100644 --- a/fs/xfs/linux-2.6/xfs_buf.c +++ b/fs/xfs/linux-2.6/xfs_buf.c @@ -1426,7 +1426,7 @@ xfs_free_bufhash( /* * buftarg list for delwrite queue processing */ -LIST_HEAD(xfs_buftarg_list); +static LIST_HEAD(xfs_buftarg_list); static DEFINE_SPINLOCK(xfs_buftarg_lock); STATIC void @@ -1867,3 +1867,11 @@ xfs_buf_terminate(void) ktrace_free(xfs_buf_trace_buf); #endif } + +#ifdef CONFIG_KDB_MODULES +struct list_head * +xfs_get_buftarg_list(void) +{ + return &xfs_buftarg_list; +} +#endif |