HomeFreeBSD

Linux 3.6 compat, iops->mkdir()

Description

Linux 3.6 compat, iops->mkdir()

Use .mkdir instead of .create in 3.3 compatibility check. Linux 3.6
modifies inode_operations->create's function prototype. This causes
an autotools Linux 3.3. compatibility check for a function prototype
change in create, mkdir and mknode to fail. Since mkdir and mknode
are unchanged, we modify the check to examine it instead.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #873

Details

Provenance
Richard Yao <ryao@cs.stonybrook.edu>Authored on Aug 16 2012, 11:31 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 14 2012, 10:29 PM
Parents
rG558ef6d08054: Linux 3.6 compat, iops->create()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG95f5c63b47d8: Linux 3.6 compat, iops->mkdir() (authored by Richard Yao <ryao@cs.stonybrook.edu>).Oct 14 2012, 10:29 PM