diff options
author | Eric Sandeen <sandeen@redhat.com> | 2014-04-14 05:02:30 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-04-14 05:02:30 -0400 |
commit | 25994053745be958aa8455a753a5c965a9006ba4 (patch) | |
tree | 5555b7dd35df695576cc14617d5e50f5bdbca98f /fs/xfs/xfs_dir2_block.c | |
parent | 9df2dd0b0d2aad3ce2480e0618bfe14d37c017a3 (diff) |
xfs: remove unused mp arg from xfs_dir2 dataptr/byte functions
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_dir2_block.c')
-rw-r--r-- | fs/xfs/xfs_dir2_block.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_dir2_block.c b/fs/xfs/xfs_dir2_block.c index 4f6a38cb83a4..d7acf7017c26 100644 --- a/fs/xfs/xfs_dir2_block.c +++ b/fs/xfs/xfs_dir2_block.c | |||
@@ -537,7 +537,7 @@ xfs_dir2_block_addname( | |||
537 | * Fill in the leaf entry. | 537 | * Fill in the leaf entry. |
538 | */ | 538 | */ |
539 | blp[mid].hashval = cpu_to_be32(args->hashval); | 539 | blp[mid].hashval = cpu_to_be32(args->hashval); |
540 | blp[mid].address = cpu_to_be32(xfs_dir2_byte_to_dataptr(mp, | 540 | blp[mid].address = cpu_to_be32(xfs_dir2_byte_to_dataptr( |
541 | (char *)dep - (char *)hdr)); | 541 | (char *)dep - (char *)hdr)); |
542 | xfs_dir2_block_log_leaf(tp, bp, lfloglow, lfloghigh); | 542 | xfs_dir2_block_log_leaf(tp, bp, lfloglow, lfloghigh); |
543 | /* | 543 | /* |
@@ -1170,7 +1170,7 @@ xfs_dir2_sf_to_block( | |||
1170 | *tagp = cpu_to_be16((char *)dep - (char *)hdr); | 1170 | *tagp = cpu_to_be16((char *)dep - (char *)hdr); |
1171 | xfs_dir2_data_log_entry(tp, dp, bp, dep); | 1171 | xfs_dir2_data_log_entry(tp, dp, bp, dep); |
1172 | blp[0].hashval = cpu_to_be32(xfs_dir_hash_dot); | 1172 | blp[0].hashval = cpu_to_be32(xfs_dir_hash_dot); |
1173 | blp[0].address = cpu_to_be32(xfs_dir2_byte_to_dataptr(mp, | 1173 | blp[0].address = cpu_to_be32(xfs_dir2_byte_to_dataptr( |
1174 | (char *)dep - (char *)hdr)); | 1174 | (char *)dep - (char *)hdr)); |
1175 | /* | 1175 | /* |
1176 | * Create entry for .. | 1176 | * Create entry for .. |
@@ -1184,7 +1184,7 @@ xfs_dir2_sf_to_block( | |||
1184 | *tagp = cpu_to_be16((char *)dep - (char *)hdr); | 1184 | *tagp = cpu_to_be16((char *)dep - (char *)hdr); |
1185 | xfs_dir2_data_log_entry(tp, dp, bp, dep); | 1185 | xfs_dir2_data_log_entry(tp, dp, bp, dep); |
1186 | blp[1].hashval = cpu_to_be32(xfs_dir_hash_dotdot); | 1186 | blp[1].hashval = cpu_to_be32(xfs_dir_hash_dotdot); |
1187 | blp[1].address = cpu_to_be32(xfs_dir2_byte_to_dataptr(mp, | 1187 | blp[1].address = cpu_to_be32(xfs_dir2_byte_to_dataptr( |
1188 | (char *)dep - (char *)hdr)); | 1188 | (char *)dep - (char *)hdr)); |
1189 | offset = dp->d_ops->data_first_offset; | 1189 | offset = dp->d_ops->data_first_offset; |
1190 | /* | 1190 | /* |
@@ -1238,7 +1238,7 @@ xfs_dir2_sf_to_block( | |||
1238 | name.len = sfep->namelen; | 1238 | name.len = sfep->namelen; |
1239 | blp[2 + i].hashval = cpu_to_be32(mp->m_dirnameops-> | 1239 | blp[2 + i].hashval = cpu_to_be32(mp->m_dirnameops-> |
1240 | hashname(&name)); | 1240 | hashname(&name)); |
1241 | blp[2 + i].address = cpu_to_be32(xfs_dir2_byte_to_dataptr(mp, | 1241 | blp[2 + i].address = cpu_to_be32(xfs_dir2_byte_to_dataptr( |
1242 | (char *)dep - (char *)hdr)); | 1242 | (char *)dep - (char *)hdr)); |
1243 | offset = (int)((char *)(tagp + 1) - (char *)hdr); | 1243 | offset = (int)((char *)(tagp + 1) - (char *)hdr); |
1244 | if (++i == sfp->count) | 1244 | if (++i == sfp->count) |