zfsonlinux/zfs — pull request #701 by ryao (2012-04-27 06:03:46+00:00)
Title: Fix Linux 3.3.0 build failure involving --enable-debug

Linux 3.3.0 changed some of the function prototypes in inode_operations.
In specific, they changed create, mkdir and mknod. The third argument
is now umode_t instead of int.

This caused a build with --enable-debug to fail. --disable-debug is
unaffected. We fix this by introducing preprocessor directives to alter
the function prototypes on Linux 3.3.0 and greater.

This closes ZFSOnLinux issue #613.