2005-04-16 22:20:36 +00:00
|
|
|
/*
|
2005-11-02 03:58:39 +00:00
|
|
|
* Copyright (c) 2004-2005 Silicon Graphics, Inc.
|
|
|
|
* All Rights Reserved.
|
2005-04-16 22:20:36 +00:00
|
|
|
*
|
2005-11-02 03:58:39 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
2005-04-16 22:20:36 +00:00
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
2005-11-02 03:58:39 +00:00
|
|
|
* This program is distributed in the hope that it would be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
2005-04-16 22:20:36 +00:00
|
|
|
*
|
2005-11-02 03:58:39 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write the Free Software Foundation,
|
|
|
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2005-04-16 22:20:36 +00:00
|
|
|
*/
|
|
|
|
#include <linux/compat.h>
|
|
|
|
#include <linux/init.h>
|
|
|
|
#include <linux/ioctl.h>
|
|
|
|
#include <linux/syscalls.h>
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include <linux/fs.h>
|
|
|
|
#include <asm/uaccess.h>
|
|
|
|
#include "xfs.h"
|
|
|
|
#include "xfs_fs.h"
|
2007-07-11 01:10:19 +00:00
|
|
|
#include "xfs_bit.h"
|
|
|
|
#include "xfs_log.h"
|
|
|
|
#include "xfs_inum.h"
|
|
|
|
#include "xfs_trans.h"
|
|
|
|
#include "xfs_sb.h"
|
|
|
|
#include "xfs_ag.h"
|
|
|
|
#include "xfs_dir2.h"
|
|
|
|
#include "xfs_dmapi.h"
|
|
|
|
#include "xfs_mount.h"
|
|
|
|
#include "xfs_bmap_btree.h"
|
|
|
|
#include "xfs_attr_sf.h"
|
|
|
|
#include "xfs_dir2_sf.h"
|
2005-04-16 22:20:36 +00:00
|
|
|
#include "xfs_vnode.h"
|
2007-07-11 01:10:19 +00:00
|
|
|
#include "xfs_dinode.h"
|
|
|
|
#include "xfs_inode.h"
|
|
|
|
#include "xfs_itable.h"
|
|
|
|
#include "xfs_error.h"
|
2005-04-16 22:20:36 +00:00
|
|
|
#include "xfs_dfrag.h"
|
2007-08-29 00:58:01 +00:00
|
|
|
#include "xfs_vnodeops.h"
|
2007-11-23 05:28:09 +00:00
|
|
|
#include "xfs_ioctl32.h"
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2005-09-04 22:25:06 +00:00
|
|
|
#define _NATIVE_IOC(cmd, type) \
|
|
|
|
_IOC(_IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), sizeof(type))
|
|
|
|
|
2008-11-26 03:20:07 +00:00
|
|
|
#ifdef BROKEN_X86_ALIGNMENT
|
2005-09-04 22:25:06 +00:00
|
|
|
STATIC unsigned long
|
|
|
|
xfs_ioctl32_flock(
|
|
|
|
unsigned long arg)
|
|
|
|
{
|
2008-11-26 03:20:07 +00:00
|
|
|
compat_xfs_flock64_t __user *p32 = (void __user *)arg;
|
2005-09-04 22:25:06 +00:00
|
|
|
xfs_flock64_t __user *p = compat_alloc_user_space(sizeof(*p));
|
|
|
|
|
|
|
|
if (copy_in_user(&p->l_type, &p32->l_type, sizeof(s16)) ||
|
|
|
|
copy_in_user(&p->l_whence, &p32->l_whence, sizeof(s16)) ||
|
|
|
|
copy_in_user(&p->l_start, &p32->l_start, sizeof(s64)) ||
|
|
|
|
copy_in_user(&p->l_len, &p32->l_len, sizeof(s64)) ||
|
|
|
|
copy_in_user(&p->l_sysid, &p32->l_sysid, sizeof(s32)) ||
|
|
|
|
copy_in_user(&p->l_pid, &p32->l_pid, sizeof(u32)) ||
|
|
|
|
copy_in_user(&p->l_pad, &p32->l_pad, 4*sizeof(u32)))
|
|
|
|
return -EFAULT;
|
2006-03-28 22:55:47 +00:00
|
|
|
|
2005-09-04 22:25:06 +00:00
|
|
|
return (unsigned long)p;
|
|
|
|
}
|
|
|
|
|
2007-07-11 01:09:57 +00:00
|
|
|
STATIC unsigned long xfs_ioctl32_geom_v1(unsigned long arg)
|
|
|
|
{
|
|
|
|
compat_xfs_fsop_geom_v1_t __user *p32 = (void __user *)arg;
|
|
|
|
xfs_fsop_geom_v1_t __user *p = compat_alloc_user_space(sizeof(*p));
|
|
|
|
|
|
|
|
if (copy_in_user(p, p32, sizeof(*p32)))
|
|
|
|
return -EFAULT;
|
|
|
|
return (unsigned long)p;
|
|
|
|
}
|
|
|
|
|
2007-07-11 01:10:19 +00:00
|
|
|
STATIC int xfs_inumbers_fmt_compat(
|
|
|
|
void __user *ubuffer,
|
|
|
|
const xfs_inogrp_t *buffer,
|
|
|
|
long count,
|
|
|
|
long *written)
|
|
|
|
{
|
2007-07-26 16:35:59 +00:00
|
|
|
compat_xfs_inogrp_t __user *p32 = ubuffer;
|
2007-07-11 01:10:19 +00:00
|
|
|
long i;
|
|
|
|
|
|
|
|
for (i = 0; i < count; i++) {
|
|
|
|
if (put_user(buffer[i].xi_startino, &p32[i].xi_startino) ||
|
|
|
|
put_user(buffer[i].xi_alloccount, &p32[i].xi_alloccount) ||
|
|
|
|
put_user(buffer[i].xi_allocmask, &p32[i].xi_allocmask))
|
|
|
|
return -EFAULT;
|
|
|
|
}
|
|
|
|
*written = count * sizeof(*p32);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
#else
|
2007-07-11 01:10:19 +00:00
|
|
|
#define xfs_inumbers_fmt_compat xfs_inumbers_fmt
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* XFS_IOC_FSBULKSTAT and friends */
|
|
|
|
|
|
|
|
STATIC int xfs_bstime_store_compat(
|
|
|
|
compat_xfs_bstime_t __user *p32,
|
|
|
|
const xfs_bstime_t *p)
|
|
|
|
{
|
|
|
|
__s32 sec32;
|
|
|
|
|
|
|
|
sec32 = p->tv_sec;
|
|
|
|
if (put_user(sec32, &p32->tv_sec) ||
|
|
|
|
put_user(p->tv_nsec, &p32->tv_nsec))
|
|
|
|
return -EFAULT;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
STATIC int xfs_bulkstat_one_fmt_compat(
|
|
|
|
void __user *ubuffer,
|
|
|
|
const xfs_bstat_t *buffer)
|
|
|
|
{
|
|
|
|
compat_xfs_bstat_t __user *p32 = ubuffer;
|
|
|
|
|
|
|
|
if (put_user(buffer->bs_ino, &p32->bs_ino) ||
|
|
|
|
put_user(buffer->bs_mode, &p32->bs_mode) ||
|
|
|
|
put_user(buffer->bs_nlink, &p32->bs_nlink) ||
|
|
|
|
put_user(buffer->bs_uid, &p32->bs_uid) ||
|
|
|
|
put_user(buffer->bs_gid, &p32->bs_gid) ||
|
|
|
|
put_user(buffer->bs_rdev, &p32->bs_rdev) ||
|
|
|
|
put_user(buffer->bs_blksize, &p32->bs_blksize) ||
|
|
|
|
put_user(buffer->bs_size, &p32->bs_size) ||
|
|
|
|
xfs_bstime_store_compat(&p32->bs_atime, &buffer->bs_atime) ||
|
|
|
|
xfs_bstime_store_compat(&p32->bs_mtime, &buffer->bs_mtime) ||
|
|
|
|
xfs_bstime_store_compat(&p32->bs_ctime, &buffer->bs_ctime) ||
|
|
|
|
put_user(buffer->bs_blocks, &p32->bs_blocks) ||
|
|
|
|
put_user(buffer->bs_xflags, &p32->bs_xflags) ||
|
|
|
|
put_user(buffer->bs_extsize, &p32->bs_extsize) ||
|
|
|
|
put_user(buffer->bs_extents, &p32->bs_extents) ||
|
|
|
|
put_user(buffer->bs_gen, &p32->bs_gen) ||
|
|
|
|
put_user(buffer->bs_projid, &p32->bs_projid) ||
|
|
|
|
put_user(buffer->bs_dmevmask, &p32->bs_dmevmask) ||
|
|
|
|
put_user(buffer->bs_dmstate, &p32->bs_dmstate) ||
|
|
|
|
put_user(buffer->bs_aextents, &p32->bs_aextents))
|
|
|
|
return -EFAULT;
|
|
|
|
return sizeof(*p32);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* copied from xfs_ioctl.c */
|
|
|
|
STATIC int
|
|
|
|
xfs_ioc_bulkstat_compat(
|
|
|
|
xfs_mount_t *mp,
|
|
|
|
unsigned int cmd,
|
|
|
|
void __user *arg)
|
2005-04-16 22:20:36 +00:00
|
|
|
{
|
2007-07-11 01:10:19 +00:00
|
|
|
compat_xfs_fsop_bulkreq_t __user *p32 = (void __user *)arg;
|
2005-04-16 22:20:36 +00:00
|
|
|
u32 addr;
|
2007-07-11 01:10:19 +00:00
|
|
|
xfs_fsop_bulkreq_t bulkreq;
|
|
|
|
int count; /* # of records returned */
|
|
|
|
xfs_ino_t inlast; /* last inode number */
|
|
|
|
int done;
|
|
|
|
int error;
|
|
|
|
|
|
|
|
/* done = 1 if there are more stats to get and if bulkstat */
|
|
|
|
/* should be called again (unused here, but used in dmapi) */
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2007-07-11 01:10:19 +00:00
|
|
|
if (!capable(CAP_SYS_ADMIN))
|
|
|
|
return -EPERM;
|
|
|
|
|
|
|
|
if (XFS_FORCED_SHUTDOWN(mp))
|
|
|
|
return -XFS_ERROR(EIO);
|
|
|
|
|
|
|
|
if (get_user(addr, &p32->lastip))
|
|
|
|
return -EFAULT;
|
|
|
|
bulkreq.lastip = compat_ptr(addr);
|
|
|
|
if (get_user(bulkreq.icount, &p32->icount) ||
|
|
|
|
get_user(addr, &p32->ubuffer))
|
2005-04-16 22:20:36 +00:00
|
|
|
return -EFAULT;
|
2007-07-11 01:10:19 +00:00
|
|
|
bulkreq.ubuffer = compat_ptr(addr);
|
|
|
|
if (get_user(addr, &p32->ocount))
|
|
|
|
return -EFAULT;
|
|
|
|
bulkreq.ocount = compat_ptr(addr);
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2007-07-11 01:10:19 +00:00
|
|
|
if (copy_from_user(&inlast, bulkreq.lastip, sizeof(__s64)))
|
|
|
|
return -XFS_ERROR(EFAULT);
|
|
|
|
|
|
|
|
if ((count = bulkreq.icount) <= 0)
|
|
|
|
return -XFS_ERROR(EINVAL);
|
|
|
|
|
2007-11-23 05:30:32 +00:00
|
|
|
if (bulkreq.ubuffer == NULL)
|
|
|
|
return -XFS_ERROR(EINVAL);
|
|
|
|
|
2007-07-11 01:10:19 +00:00
|
|
|
if (cmd == XFS_IOC_FSINUMBERS)
|
|
|
|
error = xfs_inumbers(mp, &inlast, &count,
|
|
|
|
bulkreq.ubuffer, xfs_inumbers_fmt_compat);
|
|
|
|
else {
|
|
|
|
/* declare a var to get a warning in case the type changes */
|
|
|
|
bulkstat_one_fmt_pf formatter = xfs_bulkstat_one_fmt_compat;
|
|
|
|
error = xfs_bulkstat(mp, &inlast, &count,
|
|
|
|
xfs_bulkstat_one, formatter,
|
|
|
|
sizeof(compat_xfs_bstat_t), bulkreq.ubuffer,
|
|
|
|
BULKSTAT_FG_QUICK, &done);
|
|
|
|
}
|
|
|
|
if (error)
|
|
|
|
return -error;
|
|
|
|
|
|
|
|
if (bulkreq.ocount != NULL) {
|
|
|
|
if (copy_to_user(bulkreq.lastip, &inlast,
|
|
|
|
sizeof(xfs_ino_t)))
|
|
|
|
return -XFS_ERROR(EFAULT);
|
|
|
|
|
|
|
|
if (copy_to_user(bulkreq.ocount, &count, sizeof(count)))
|
|
|
|
return -XFS_ERROR(EFAULT);
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
2005-04-16 22:20:36 +00:00
|
|
|
}
|
2007-07-11 01:10:19 +00:00
|
|
|
|
2007-07-11 01:10:09 +00:00
|
|
|
STATIC unsigned long xfs_ioctl32_fshandle(unsigned long arg)
|
|
|
|
{
|
|
|
|
compat_xfs_fsop_handlereq_t __user *p32 = (void __user *)arg;
|
|
|
|
xfs_fsop_handlereq_t __user *p = compat_alloc_user_space(sizeof(*p));
|
|
|
|
u32 addr;
|
|
|
|
|
|
|
|
if (copy_in_user(&p->fd, &p32->fd, sizeof(__u32)) ||
|
|
|
|
get_user(addr, &p32->path) ||
|
|
|
|
put_user(compat_ptr(addr), &p->path) ||
|
|
|
|
copy_in_user(&p->oflags, &p32->oflags, sizeof(__u32)) ||
|
|
|
|
get_user(addr, &p32->ihandle) ||
|
|
|
|
put_user(compat_ptr(addr), &p->ihandle) ||
|
|
|
|
copy_in_user(&p->ihandlen, &p32->ihandlen, sizeof(__u32)) ||
|
|
|
|
get_user(addr, &p32->ohandle) ||
|
|
|
|
put_user(compat_ptr(addr), &p->ohandle) ||
|
|
|
|
get_user(addr, &p32->ohandlen) ||
|
|
|
|
put_user(compat_ptr(addr), &p->ohandlen))
|
|
|
|
return -EFAULT;
|
|
|
|
|
|
|
|
return (unsigned long)p;
|
|
|
|
}
|
|
|
|
|
2005-05-06 13:44:46 +00:00
|
|
|
STATIC long
|
2006-03-28 22:55:47 +00:00
|
|
|
xfs_compat_ioctl(
|
|
|
|
int mode,
|
|
|
|
struct file *file,
|
|
|
|
unsigned cmd,
|
|
|
|
unsigned long arg)
|
2005-04-16 22:20:36 +00:00
|
|
|
{
|
2006-12-08 10:36:49 +00:00
|
|
|
struct inode *inode = file->f_path.dentry->d_inode;
|
2005-04-16 22:20:36 +00:00
|
|
|
int error;
|
|
|
|
|
|
|
|
switch (cmd) {
|
|
|
|
case XFS_IOC_DIOINFO:
|
|
|
|
case XFS_IOC_FSGEOMETRY:
|
|
|
|
case XFS_IOC_FSGETXATTR:
|
|
|
|
case XFS_IOC_FSSETXATTR:
|
|
|
|
case XFS_IOC_FSGETXATTRA:
|
|
|
|
case XFS_IOC_FSSETDM:
|
|
|
|
case XFS_IOC_GETBMAP:
|
|
|
|
case XFS_IOC_GETBMAPA:
|
|
|
|
case XFS_IOC_GETBMAPX:
|
|
|
|
/* not handled
|
|
|
|
case XFS_IOC_FSSETDM_BY_HANDLE:
|
|
|
|
case XFS_IOC_ATTRLIST_BY_HANDLE:
|
|
|
|
case XFS_IOC_ATTRMULTI_BY_HANDLE:
|
|
|
|
*/
|
|
|
|
case XFS_IOC_FSCOUNTS:
|
|
|
|
case XFS_IOC_SET_RESBLKS:
|
|
|
|
case XFS_IOC_GET_RESBLKS:
|
|
|
|
case XFS_IOC_FSGROWFSDATA:
|
|
|
|
case XFS_IOC_FSGROWFSLOG:
|
|
|
|
case XFS_IOC_FSGROWFSRT:
|
|
|
|
case XFS_IOC_FREEZE:
|
|
|
|
case XFS_IOC_THAW:
|
|
|
|
case XFS_IOC_GOINGDOWN:
|
|
|
|
case XFS_IOC_ERROR_INJECTION:
|
|
|
|
case XFS_IOC_ERROR_CLEARALL:
|
|
|
|
break;
|
|
|
|
|
2008-11-26 03:20:07 +00:00
|
|
|
case XFS_IOC_GETXFLAGS_32:
|
|
|
|
case XFS_IOC_SETXFLAGS_32:
|
|
|
|
case XFS_IOC_GETVERSION_32:
|
[XFS] fix 32-bit compat ioctls for GETXFLAGS, SETXFLAGS, GETVERSION
XFS_IOC_GETVERSION, XFS_IOC_GETXFLAGS and XFS_IOC_SETXFLAGS all take a
"long" which changes size between 32 and 64 bit platforms.
So, the ioctl cmds that come in from a 32-bit app aren't as expected, for
example on GETXFLAGS,
unknown cmd fd(3) cmd(80046601){t:'f';sz:4}
due to the size mismatch.
So, use instead the 32-bit version of the commands for compat ioctls, and
other than that it doesn't take any more manipulation.
Also, for both native and compat versions, just define them to the values
as defined in fs.h
SGI-PV: 971186
SGI-Modid: xfs-linux-melb:xfs-kern:29849a
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
2007-10-12 01:13:22 +00:00
|
|
|
cmd = _NATIVE_IOC(cmd, long);
|
|
|
|
break;
|
2005-09-04 22:25:06 +00:00
|
|
|
#ifdef BROKEN_X86_ALIGNMENT
|
|
|
|
/* xfs_flock_t has wrong u32 vs u64 alignment */
|
|
|
|
case XFS_IOC_ALLOCSP_32:
|
|
|
|
case XFS_IOC_FREESP_32:
|
|
|
|
case XFS_IOC_ALLOCSP64_32:
|
|
|
|
case XFS_IOC_FREESP64_32:
|
|
|
|
case XFS_IOC_RESVSP_32:
|
|
|
|
case XFS_IOC_UNRESVSP_32:
|
|
|
|
case XFS_IOC_RESVSP64_32:
|
|
|
|
case XFS_IOC_UNRESVSP64_32:
|
|
|
|
arg = xfs_ioctl32_flock(arg);
|
|
|
|
cmd = _NATIVE_IOC(cmd, struct xfs_flock64);
|
|
|
|
break;
|
2007-07-11 01:09:57 +00:00
|
|
|
case XFS_IOC_FSGEOMETRY_V1_32:
|
|
|
|
arg = xfs_ioctl32_geom_v1(arg);
|
|
|
|
cmd = _NATIVE_IOC(cmd, struct xfs_fsop_geom_v1);
|
|
|
|
break;
|
2005-09-04 22:25:06 +00:00
|
|
|
#else /* These are handled fine if no alignment issues */
|
2005-04-16 22:20:36 +00:00
|
|
|
case XFS_IOC_ALLOCSP:
|
|
|
|
case XFS_IOC_FREESP:
|
|
|
|
case XFS_IOC_RESVSP:
|
|
|
|
case XFS_IOC_UNRESVSP:
|
|
|
|
case XFS_IOC_ALLOCSP64:
|
|
|
|
case XFS_IOC_FREESP64:
|
|
|
|
case XFS_IOC_RESVSP64:
|
|
|
|
case XFS_IOC_UNRESVSP64:
|
2007-07-11 01:09:57 +00:00
|
|
|
case XFS_IOC_FSGEOMETRY_V1:
|
2005-09-04 22:25:06 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
/* xfs_bstat_t still has wrong u32 vs u64 alignment */
|
2005-04-16 22:20:36 +00:00
|
|
|
case XFS_IOC_SWAPEXT:
|
|
|
|
break;
|
|
|
|
|
|
|
|
#endif
|
2007-07-11 01:10:19 +00:00
|
|
|
case XFS_IOC_FSBULKSTAT_32:
|
|
|
|
case XFS_IOC_FSBULKSTAT_SINGLE_32:
|
|
|
|
case XFS_IOC_FSINUMBERS_32:
|
|
|
|
cmd = _NATIVE_IOC(cmd, struct xfs_fsop_bulkreq);
|
2007-08-29 00:58:01 +00:00
|
|
|
return xfs_ioc_bulkstat_compat(XFS_I(inode)->i_mount,
|
2007-07-26 16:35:59 +00:00
|
|
|
cmd, (void __user*)arg);
|
2007-07-11 01:10:09 +00:00
|
|
|
case XFS_IOC_FD_TO_HANDLE_32:
|
|
|
|
case XFS_IOC_PATH_TO_HANDLE_32:
|
|
|
|
case XFS_IOC_PATH_TO_FSHANDLE_32:
|
|
|
|
case XFS_IOC_OPEN_BY_HANDLE_32:
|
|
|
|
case XFS_IOC_READLINK_BY_HANDLE_32:
|
|
|
|
arg = xfs_ioctl32_fshandle(arg);
|
|
|
|
cmd = _NATIVE_IOC(cmd, struct xfs_fsop_handlereq);
|
|
|
|
break;
|
2005-04-16 22:20:36 +00:00
|
|
|
default:
|
|
|
|
return -ENOIOCTLCMD;
|
|
|
|
}
|
|
|
|
|
2007-08-29 00:58:01 +00:00
|
|
|
error = xfs_ioctl(XFS_I(inode), file, mode, cmd, (void __user *)arg);
|
2007-08-29 01:44:37 +00:00
|
|
|
xfs_iflags_set(XFS_I(inode), XFS_IMODIFIED);
|
2005-04-16 22:20:36 +00:00
|
|
|
return error;
|
|
|
|
}
|
|
|
|
|
2005-05-06 13:44:46 +00:00
|
|
|
long
|
2006-03-14 03:06:18 +00:00
|
|
|
xfs_file_compat_ioctl(
|
2006-03-28 22:55:47 +00:00
|
|
|
struct file *file,
|
2005-05-06 13:44:46 +00:00
|
|
|
unsigned cmd,
|
|
|
|
unsigned long arg)
|
2005-04-16 22:20:36 +00:00
|
|
|
{
|
2006-03-28 22:55:47 +00:00
|
|
|
return xfs_compat_ioctl(0, file, cmd, arg);
|
2005-04-16 22:20:36 +00:00
|
|
|
}
|
|
|
|
|
2005-05-06 13:44:46 +00:00
|
|
|
long
|
2006-03-14 03:06:18 +00:00
|
|
|
xfs_file_compat_invis_ioctl(
|
2006-03-28 22:55:47 +00:00
|
|
|
struct file *file,
|
2005-05-06 13:44:46 +00:00
|
|
|
unsigned cmd,
|
|
|
|
unsigned long arg)
|
2005-04-16 22:20:36 +00:00
|
|
|
{
|
2006-03-28 22:55:47 +00:00
|
|
|
return xfs_compat_ioctl(IO_INVIS, file, cmd, arg);
|
2005-04-16 22:20:36 +00:00
|
|
|
}
|