aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_attr_remote.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2014-04-14 04:58:29 -0400
committerDave Chinner <david@fromorbit.com>2014-04-14 04:58:29 -0400
commit6d0081a3da32c9a9e480ae2796588508347bdb9e (patch)
tree2699b8d2c0204ae79af4897fb404bc1b56ee4996 /fs/xfs/xfs_attr_remote.c
parent7fb2cd4d32fed48d5fd88e0e922f162c182f5f8c (diff)
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>
Diffstat (limited to 'fs/xfs/xfs_attr_remote.c')
-rw-r--r--fs/xfs/xfs_attr_remote.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_attr_remote.c b/fs/xfs/xfs_attr_remote.c
index 6e37823e2932..41f206c82aac 100644
--- a/fs/xfs/xfs_attr_remote.c
+++ b/fs/xfs/xfs_attr_remote.c
@@ -68,7 +68,6 @@ xfs_attr3_rmt_blocks(
68 */ 68 */
69static bool 69static bool
70xfs_attr3_rmt_hdr_ok( 70xfs_attr3_rmt_hdr_ok(
71 struct xfs_mount *mp,
72 void *ptr, 71 void *ptr,
73 xfs_ino_t ino, 72 xfs_ino_t ino,
74 uint32_t offset, 73 uint32_t offset,
@@ -251,7 +250,7 @@ xfs_attr_rmtval_copyout(
251 byte_cnt = min(*valuelen, byte_cnt); 250 byte_cnt = min(*valuelen, byte_cnt);
252 251
253 if (xfs_sb_version_hascrc(&mp->m_sb)) { 252 if (xfs_sb_version_hascrc(&mp->m_sb)) {
254 if (!xfs_attr3_rmt_hdr_ok(mp, src, ino, *offset, 253 if (!xfs_attr3_rmt_hdr_ok(src, ino, *offset,
255 byte_cnt, bno)) { 254 byte_cnt, bno)) {
256 xfs_alert(mp, 255 xfs_alert(mp,
257"remote attribute header mismatch bno/off/len/owner (0x%llx/0x%x/Ox%x/0x%llx)", 256"remote attribute header mismatch bno/off/len/owner (0x%llx/0x%x/Ox%x/0x%llx)",