diff options
author | Jeff Mahoney | 2016-06-09 22:22:11 +0200 |
---|---|---|
committer | David Sterba | 2016-07-26 13:53:15 +0200 |
commit | cb001095ca705dcd95f57fe98867e38a4889916d (patch) | |
tree | 14a4d7643bf5b4a436f085615fbafd2575a09108 /fs/btrfs/tests/free-space-tests.c | |
parent | btrfs: remove obsolete part of comment in statfs (diff) | |
download | kernel-qcow2-linux-cb001095ca705dcd95f57fe98867e38a4889916d.tar.gz kernel-qcow2-linux-cb001095ca705dcd95f57fe98867e38a4889916d.tar.xz kernel-qcow2-linux-cb001095ca705dcd95f57fe98867e38a4889916d.zip |
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/free-space-tests.c')
0 files changed, 0 insertions, 0 deletions