X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fvfs_compat.h;h=c4e1771ae59fc4b405636d5d8c987aa96e5d97e2;hb=23e3c743f6e36768b97234c3de18f4682111e6c3;hp=7181625dfdfce6f3c45ee60d53d41d844b6875be;hpb=3c203610756f98f275c7c9f731d67a38b1111509;p=zfs.git diff --git a/include/linux/vfs_compat.h b/include/linux/vfs_compat.h index 7181625..c4e1771 100644 --- a/include/linux/vfs_compat.h +++ b/include/linux/vfs_compat.h @@ -115,7 +115,7 @@ set_nlink(struct inode *inode, unsigned int nlink) * umode_t type rather than an int. To cleanly handle both definitions * the zpl_umode_t type is introduced and set accordingly. */ -#ifdef HAVE_CREATE_UMODE_T +#ifdef HAVE_MKDIR_UMODE_T typedef umode_t zpl_umode_t; #else typedef int zpl_umode_t;