HomeFreeBSD

Linux 3.6 compat, sget()

Description

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

Details

Provenance
Yuxuan Shui <yshuiv7@gmail.com>Authored on Oct 12 2012, 1:40 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 14 2012, 8:06 PM
Parents
rGaf26c4d4ab54: Linux 3.6 compat, sops->write_super() removed
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG3c203610756f: Linux 3.6 compat, sget() (authored by Yuxuan Shui <yshuiv7@gmail.com>).Oct 14 2012, 8:06 PM