Commit 6a9edd3d authored by Eric Sandeen's avatar Eric Sandeen Committed by Dave Chinner

xfs: remove unused mp arg from xfs_bmap_forkoff_reset()

Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
parent 152d93b7
...@@ -233,7 +233,6 @@ xfs_default_attroffset( ...@@ -233,7 +233,6 @@ xfs_default_attroffset(
*/ */
STATIC void STATIC void
xfs_bmap_forkoff_reset( xfs_bmap_forkoff_reset(
xfs_mount_t *mp,
xfs_inode_t *ip, xfs_inode_t *ip,
int whichfork) int whichfork)
{ {
...@@ -905,7 +904,7 @@ xfs_bmap_local_to_extents_empty( ...@@ -905,7 +904,7 @@ xfs_bmap_local_to_extents_empty(
ASSERT(ifp->if_bytes == 0); ASSERT(ifp->if_bytes == 0);
ASSERT(XFS_IFORK_NEXTENTS(ip, whichfork) == 0); ASSERT(XFS_IFORK_NEXTENTS(ip, whichfork) == 0);
xfs_bmap_forkoff_reset(ip->i_mount, ip, whichfork); xfs_bmap_forkoff_reset(ip, whichfork);
ifp->if_flags &= ~XFS_IFINLINE; ifp->if_flags &= ~XFS_IFINLINE;
ifp->if_flags |= XFS_IFEXTENTS; ifp->if_flags |= XFS_IFEXTENTS;
XFS_IFORK_FMT_SET(ip, whichfork, XFS_DINODE_FMT_EXTENTS); XFS_IFORK_FMT_SET(ip, whichfork, XFS_DINODE_FMT_EXTENTS);
......
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