X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fvfs_compat.h;fp=include%2Flinux%2Fvfs_compat.h;h=c4e1771ae59fc4b405636d5d8c987aa96e5d97e2;hb=95f5c63b47d8f8294b38843f9ba710e97b749b63;hp=7181625dfdfce6f3c45ee60d53d41d844b6875be;hpb=558ef6d0805457654938dbe56c9a19b0121a712d;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;