summaryrefslogtreecommitdiff
path: root/fs/btrfs/tests
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2016-06-09 23:22:11 +0300
committerDavid Sterba <dsterba@suse.com>2016-07-26 14:53:15 +0300
commitcb001095ca705dcd95f57fe98867e38a4889916d (patch)
tree14a4d7643bf5b4a436f085615fbafd2575a09108 /fs/btrfs/tests
parent9f8d49095b86d3494ee184f6ede4a5b179d5dc5c (diff)
downloadlinux-cb001095ca705dcd95f57fe98867e38a4889916d.tar.xz
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 'fs/btrfs/tests')
0 files changed, 0 insertions, 0 deletions