scripts/generate-kernel-patch: Swap two filters

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5910 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-12-04 11:50:58 +00:00
parent 7d8f7fe5bb
commit 5ce36973f7

View File

@@ -107,16 +107,16 @@ EOF
# passed via stdin and send the specialized patch to stdout.
function specialize_patch {
if [ "${enable_specialize}" = "true" ]; then
if [ "${generating_upstream_patch}" = "true" ]; then
scripts/filter-trace-entry-exit
else
cat
fi |
"$(dirname $0)/specialize-patch" \
${specialize_patch_options} \
-v kernel_version="${kver3}" \
-v SCSI_EXEC_REQ_FIFO_DEFINED="${scsi_exec_req_fifo_defined}" \
-v SCST_IO_CONTEXT="${scst_io_context}" \
| if [ "${generating_upstream_patch}" = "true" ]; then
scripts/filter-trace-entry-exit
else
cat
fi
-v SCST_IO_CONTEXT="${scst_io_context}"
else
cat
fi