Add a new helper `_fixed_by_fs_commit` eliminating the
if [ $FSTYP = fs ] && _fixed_by_kernel_commit XXXX YYYY
pattern.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
_fixed_by_git_commit kernel $*
}
+_fixed_by_fs_commit()
+{
+ local fstyp=$1
+ shift
+
+ if [ "$fstyp" = "$FSTYP" ]; then
+ _fixed_by_kernel_commit $*
+ fi
+}
+
# Compare with _fixed_by_* helpers, this helper is used for test cases
# are not regression tests, e.g. functional tests or maintainer tests,
# this helper suggests git commits that should be applied to source trees