Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / fs / xfs / linux-2.6 / xfs_ioctl32.c
index 270db0f..251bfe4 100644 (file)
@@ -15,6 +15,7 @@
  * along with this program; if not, write the Free Software Foundation,
  * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
+#include <linux/config.h>
 #include <linux/compat.h>
 #include <linux/init.h>
 #include <linux/ioctl.h>
@@ -113,7 +114,7 @@ xfs_compat_ioctl(
        unsigned long   arg)
 {
        struct inode    *inode = file->f_dentry->d_inode;
-       bhv_vnode_t     *vp = vn_from_inode(inode);
+       vnode_t         *vp = vn_from_inode(inode);
        int             error;
 
        switch (cmd) {
@@ -192,7 +193,7 @@ xfs_compat_ioctl(
                return -ENOIOCTLCMD;
        }
 
-       error = bhv_vop_ioctl(vp, inode, file, mode, cmd, (void __user *)arg);
+       VOP_IOCTL(vp, inode, file, mode, cmd, (void __user *)arg, error);
        VMODIFY(vp);
 
        return error;