Commit f91fb956 authored by Eric Sandeen's avatar Eric Sandeen Committed by Darrick J. Wong

xfs: remove unused flags arg from xfs_file_iomap_begin_delay

Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
parent 47c7d0b1
...@@ -520,7 +520,6 @@ xfs_file_iomap_begin_delay( ...@@ -520,7 +520,6 @@ xfs_file_iomap_begin_delay(
struct inode *inode, struct inode *inode,
loff_t offset, loff_t offset,
loff_t count, loff_t count,
unsigned flags,
struct iomap *iomap) struct iomap *iomap)
{ {
struct xfs_inode *ip = XFS_I(inode); struct xfs_inode *ip = XFS_I(inode);
...@@ -984,8 +983,7 @@ xfs_file_iomap_begin( ...@@ -984,8 +983,7 @@ xfs_file_iomap_begin(
if (((flags & (IOMAP_WRITE | IOMAP_DIRECT)) == IOMAP_WRITE) && if (((flags & (IOMAP_WRITE | IOMAP_DIRECT)) == IOMAP_WRITE) &&
!IS_DAX(inode) && !xfs_get_extsz_hint(ip)) { !IS_DAX(inode) && !xfs_get_extsz_hint(ip)) {
/* Reserve delalloc blocks for regular writeback. */ /* Reserve delalloc blocks for regular writeback. */
return xfs_file_iomap_begin_delay(inode, offset, length, flags, return xfs_file_iomap_begin_delay(inode, offset, length, iomap);
iomap);
} }
if (need_excl_ilock(ip, flags)) { if (need_excl_ilock(ip, flags)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment