diff options
author | Jeff Mahoney <jeffm@suse.com> | 2016-06-09 16:22:11 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-07-26 13:53:15 +0200 |
commit | cb001095ca705dcd95f57fe98867e38a4889916d (patch) | |
tree | 14a4d7643bf5b4a436f085615fbafd2575a09108 /include/trace | |
parent | 9f8d49095b86d3494ee184f6ede4a5b179d5dc5c (diff) |
btrfs: plumb fs_info into btrfs_work
In order to provide an fsid for trace events, we'll need a btrfs_fs_info
pointer. The most lightweight way to do that for btrfs_work structures
is to associate it with the __btrfs_workqueue structure. Each queued
btrfs_work structure has a workqueue associated with it, so that's
a natural fit. It's a privately defined structures, so we add accessors
to retrieve the fs_info pointer.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions