X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=libcfs%2Finclude%2Flibcfs%2Flinux%2Flinux-misc.h;h=b9963e48c77c69691550486d38ae35144e1aaa21;hb=refs%2Fchanges%2F41%2F44541%2F16;hp=242105b1bc4851c09c32fb109c2ed709a0c4a829;hpb=783002035ae9612b5b0aa80f2342a2ee9e81c374;p=fs%2Flustre-release.git diff --git a/libcfs/include/libcfs/linux/linux-misc.h b/libcfs/include/libcfs/linux/linux-misc.h index 242105b..b9963e4 100644 --- a/libcfs/include/libcfs/linux/linux-misc.h +++ b/libcfs/include/libcfs/linux/linux-misc.h @@ -97,6 +97,10 @@ int cfs_apply_workqueue_attrs(struct workqueue_struct *wq, int kstrtobool_from_user(const char __user *s, size_t count, bool *res); #endif /* HAVE_KSTRTOBOOL_FROM_USER */ +#ifndef HAVE_MATCH_WILDCARD +bool match_wildcard(const char *pattern, const char *str); +#endif /* !HAVE_MATCH_WILDCARD */ + #ifndef HAVE_KREF_READ static inline int kref_read(const struct kref *kref) {