Forráskód Böngészése

xfs: remove unused mp arg from xfs_attr3_rmt_hdr_ok()

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Eric Sandeen 11 éve
szülő
commit
6d0081a3da
1 módosított fájl, 1 hozzáadás és 2 törlés
  1. 1 2
      fs/xfs/xfs_attr_remote.c

+ 1 - 2
fs/xfs/xfs_attr_remote.c

@@ -68,7 +68,6 @@ xfs_attr3_rmt_blocks(
  */
  */
 static bool
 static bool
 xfs_attr3_rmt_hdr_ok(
 xfs_attr3_rmt_hdr_ok(
-	struct xfs_mount	*mp,
 	void			*ptr,
 	void			*ptr,
 	xfs_ino_t		ino,
 	xfs_ino_t		ino,
 	uint32_t		offset,
 	uint32_t		offset,
@@ -251,7 +250,7 @@ xfs_attr_rmtval_copyout(
 		byte_cnt = min(*valuelen, byte_cnt);
 		byte_cnt = min(*valuelen, byte_cnt);
 
 
 		if (xfs_sb_version_hascrc(&mp->m_sb)) {
 		if (xfs_sb_version_hascrc(&mp->m_sb)) {
-			if (!xfs_attr3_rmt_hdr_ok(mp, src, ino, *offset,
+			if (!xfs_attr3_rmt_hdr_ok(src, ino, *offset,
 						  byte_cnt, bno)) {
 						  byte_cnt, bno)) {
 				xfs_alert(mp,
 				xfs_alert(mp,
 "remote attribute header mismatch bno/off/len/owner (0x%llx/0x%x/Ox%x/0x%llx)",
 "remote attribute header mismatch bno/off/len/owner (0x%llx/0x%x/Ox%x/0x%llx)",