Linux 3.6 compat, iops->create()
authorYuxuan Shui <yshuiv7@gmail.com>
Fri, 12 Oct 2012 15:20:58 +0000 (23:20 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 14 Oct 2012 21:42:25 +0000 (14:42 -0700)
commit558ef6d0805457654938dbe56c9a19b0121a712d
tree0d957d0f96a5eb2fe7908c7205e5f49b1485cc8f
parent8f195a908ffaa8faf8f4c8a0e701e44ae3859e33
Linux 3.6 compat, iops->create()

As of Linux commit ebfc3b49a7ac25920cb5be5445f602e51d2ea559 the
struct nameidata is no longer passed to iops->create.  Instead
only the result of (inamedata->flags & LOOKUP_EXCL) is passed.

ZFS like almost all Linux fileystems never made use of this so
only the prototype needs to be wrapped for compatibility.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #873
config/kernel-create-nameidata.m4 [new file with mode: 0644]
config/kernel.m4
module/zfs/zpl_inode.c