Linux 3.6 compat, iops->lookup()
authorYuxuan Shui <yshuiv7@gmail.com>
Fri, 12 Oct 2012 14:41:06 +0000 (22:41 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 14 Oct 2012 20:06:54 +0000 (13:06 -0700)
commit8f195a908ffaa8faf8f4c8a0e701e44ae3859e33
tree48ade7ec19cb9689b2d7c5e508626cd29df09272
parent3c203610756f98f275c7c9f731d67a38b1111509
Linux 3.6 compat, iops->lookup()

As of Linux commit 00cd8dd3bf95f2cc8435b4cac01d9995635c6d0b the
struct nameidata is no longer passed to iops->lookup.  Instead
only the inamedata->flags are 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-lookup-nameidata.m4 [new file with mode: 0644]
config/kernel.m4
module/zfs/zpl_ctldir.c
module/zfs/zpl_inode.c