From: Marc Dionne Date: Tue, 14 Aug 2012 21:11:08 +0000 (-0400) Subject: Linux: fix variable used to test for the iop create API X-Git-Tag: openafs-stable-1_8_0pre1~2081 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=c633a92a1bc7881f18ee641082ff2efe7da1a8cb;hp=6bea047fb404bde828c6358ae06f7941aa2bc959 Linux: fix variable used to test for the iop create API Use correct variable when testing for the create API to use. This is just for looks - there is no effect since mkdir and create were changed in the same kernel release. Change-Id: I9e43cc80d3817ee8a6c339c4ae98a1a2ab0851a1 Reviewed-on: http://gerrit.openafs.org/7984 Reviewed-by: Alistair Ferguson Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 48e2614..382dcec 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -1279,7 +1279,7 @@ struct dentry_operations afs_dentry_operations = { * name is in kernel space at this point. */ static int -#if defined(IOP_MKDIR_TAKES_UMODE_T) +#if defined(IOP_CREATE_TAKES_UMODE_T) afs_linux_create(struct inode *dip, struct dentry *dp, umode_t mode, struct nameidata *nd) #else