fi
+ if test -z "$sourcelink" || test ! -e $sourcelink/spl_config.h; then
+
+ sourcelink="$LINUX"
+
+fi
+
+
if test -e $sourcelink/spl_config.h; then
splsrc=`readlink -f ${sourcelink}`
#include <linux/dcache.h>
+ struct vfsmount *d_automount(struct path *p) { return NULL; }
+ struct dentry_operations dops __attribute__ ((unused)) = {
+ .d_automount = d_automount,
+ };
int
main (void)
{
- struct vfsmount *(*d_automount) (struct path *) = NULL;
- struct dentry_operations dops __attribute__ ((unused)) = {
- .d_automount = d_automount,
- };
;
return 0;
fi
+ if test -z "$sourcelink" || test ! -e $sourcelink/spl_config.h; then
+
+ sourcelink="$LINUX"
+
+fi
+
+
if test -e $sourcelink/spl_config.h; then
splsrc=`readlink -f ${sourcelink}`
#include <linux/dcache.h>
+ struct vfsmount *d_automount(struct path *p) { return NULL; }
+ struct dentry_operations dops __attribute__ ((unused)) = {
+ .d_automount = d_automount,
+ };
int
main (void)
{
- struct vfsmount *(*d_automount) (struct path *) = NULL;
- struct dentry_operations dops __attribute__ ((unused)) = {
- .d_automount = d_automount,
- };
;
return 0;