Linux 3.6 compat, sget()
authorYuxuan Shui <yshuiv7@gmail.com>
Fri, 12 Oct 2012 13:40:53 +0000 (21:40 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 14 Oct 2012 20:06:48 +0000 (13:06 -0700)
commit3c203610756f98f275c7c9f731d67a38b1111509
treeb174c474d8947251ed09268a768b5e39c4addc43
parentaf26c4d4ab545767456d8c21ed48e9e01ce6a3e7
Linux 3.6 compat, sget()

As of Linux commit 9249e17fe094d853d1ef7475dd559a2cc7e23d42 the
mount flags are now passed to sget() so they can be used when
initializing a new superblock.

ZFS never uses sget() in this fashion so we can simply pass a
zero and add a zpl_sget() compatibility wrapper.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #873
config/kernel-sget-args.m4 [new file with mode: 0644]
config/kernel.m4
include/linux/vfs_compat.h
module/zfs/zfs_ctldir.c