mirror of https://gitee.com/openkylin/linux.git
xfs: remove unused flags arg from xfs_file_iomap_begin_delay
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>
This commit is contained in:
parent
47c7d0b195
commit
f91fb956f2
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue