diff options
author | 2011-07-05 13:34:50 -0700 | |
---|---|---|
committer | 2011-07-22 09:37:47 +0000 | |
commit | f5fbed856931faa1e94a76caf0f0c273c67f0d32 (patch) | |
tree | 477499feebf9a32714ad25993f577a43eeb1e3d2 /tools/perf/scripts/python/check-perf-trace.py | |
parent | tcm_fc: Convert to wake_up_process and schedule_timeout_interruptible (diff) | |
download | linux-dev-f5fbed856931faa1e94a76caf0f0c273c67f0d32.tar.xz linux-dev-f5fbed856931faa1e94a76caf0f0c273c67f0d32.zip |
target: Allow for built-in target modules
In target_fabric_configfs_init(), we should allow fabric_mod to be NULL,
since THIS_MODULE is NULL for built-in modules. The main method of
using the target code may be as modules, but having everything built-in
is useful eg to be able to do quick testing with "qemu -kernel".
In any case, we shouldn't bomb out fabric registration for a perfectly
valid configuration, so simply drop the check of fabric_mod.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions