xfs: remove unused flags arg from xfs_file_iomap_begin_delay
authorEric Sandeen <sandeen@redhat.com>
Wed, 30 Aug 2017 16:24:12 +0000 (09:24 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 1 Sep 2017 20:08:26 +0000 (13:08 -0700)
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_iomap.c

index 1b625d05044197065a9a1d3b099acf5f5abd42f9..79cb5b3d140c522fd04f9a0f72666f1621c45155 100644 (file)
@@ -520,7 +520,6 @@ xfs_file_iomap_begin_delay(
        struct inode            *inode,
        loff_t                  offset,
        loff_t                  count,
-       unsigned                flags,
        struct iomap            *iomap)
 {
        struct xfs_inode        *ip = XFS_I(inode);
@@ -984,8 +983,7 @@ xfs_file_iomap_begin(
        if (((flags & (IOMAP_WRITE | IOMAP_DIRECT)) == IOMAP_WRITE) &&
                        !IS_DAX(inode) && !xfs_get_extsz_hint(ip)) {
                /* Reserve delalloc blocks for regular writeback. */
-               return xfs_file_iomap_begin_delay(inode, offset, length, flags,
-                               iomap);
+               return xfs_file_iomap_begin_delay(inode, offset, length, iomap);
        }
 
        if (need_excl_ilock(ip, flags)) {