xfs: remove the unused XFS_ATTR_NONBLOCK flag
authorChristoph Hellwig <hch@infradead.org>
Sat, 12 Oct 2013 07:55:05 +0000 (00:55 -0700)
committerBen Myers <bpm@sgi.com>
Mon, 21 Oct 2013 21:53:11 +0000 (16:53 -0500)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_iops.h

index 668e8f4ccf5e7201e8e6a360cd26668484f6d515..5a57e0c80b6b9fcc1b26b7150a67117c6f30ef65 100644 (file)
@@ -661,9 +661,6 @@ xfs_ioc_space(
        if (!S_ISREG(inode->i_mode))
                return -XFS_ERROR(EINVAL);
 
-       if (filp->f_flags & (O_NDELAY|O_NONBLOCK))
-               attr_flags |= XFS_ATTR_NONBLOCK;
-
        if (filp->f_flags & O_DSYNC)
                attr_flags |= XFS_ATTR_SYNC;
 
index 3e76dcba7a790ae76b3fc67c0347fa7f0898363e..fe4013af2586490b03ca3894a7160b3f3b2915dd 100644 (file)
@@ -31,7 +31,6 @@ extern void xfs_setup_inode(struct xfs_inode *);
  * Internal setattr interfaces.
  */
 #define        XFS_ATTR_DMI            0x01    /* invocation from a DMI function */
-#define        XFS_ATTR_NONBLOCK       0x02    /* return EAGAIN if op would block */
 #define XFS_ATTR_NOLOCK                0x04    /* Don't grab any conflicting locks */
 #define XFS_ATTR_NOACL         0x08    /* Don't call xfs_acl_chmod */
 #define XFS_ATTR_SYNC          0x10    /* synchronous operation required */