[Top] [All Lists]

[PATCH] remove broken direct I/O size ioctl

To: akpm@xxxxxxxx
Subject: [PATCH] remove broken direct I/O size ioctl
From: Christoph Hellwig <hch@xxxxxx>
Date: Mon, 28 Nov 2005 23:25:01 +0100
Cc: linux-kernel@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
This ioctl tries to second guess direct I/O parameters which aren't
a filesystem drivers business and shouldn't be exposed as an ioctl
to start with.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Index: linux-2.6/fs/xfs/linux-2.6/xfs_ioctl32.c
--- linux-2.6.orig/fs/xfs/linux-2.6/xfs_ioctl32.c       2005-11-18 
10:29:41.000000000 +0100
+++ linux-2.6/fs/xfs/linux-2.6/xfs_ioctl32.c    2005-11-28 23:21:39.000000000 
@@ -115,7 +115,6 @@
        vnode_t         *vp = LINVFS_GET_VP(inode);
        switch (cmd) {
-       case XFS_IOC_DIOINFO:
        case XFS_IOC_FSGEOMETRY_V1:
        case XFS_IOC_FSGEOMETRY:
        case XFS_IOC_GETVERSION:

<Prev in Thread] Current Thread [Next in Thread>