Linux 3.6 compat, iops->mkdir()
authorRichard Yao <ryao@cs.stonybrook.edu>
Thu, 16 Aug 2012 23:31:54 +0000 (19:31 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 14 Oct 2012 22:29:26 +0000 (15:29 -0700)
commit95f5c63b47d8f8294b38843f9ba710e97b749b63
tree6bea5a895ae24d30f78260a8bf16fc24254cc015
parent558ef6d0805457654938dbe56c9a19b0121a712d
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
config/kernel-mkdir-umode-t.m4 [moved from config/kernel-create-umode-t.m4 with 77% similarity]
config/kernel.m4
include/linux/vfs_compat.h