File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -816,15 +816,15 @@ xfs_attr_sf_removename(
816
816
/*
817
817
* Fix up the start offset of the attribute fork
818
818
*/
819
- if (totsize == sizeof (xfs_attr_sf_hdr_t ) && xfs_has_attr2 (mp ) &&
819
+ if (totsize == sizeof (struct xfs_attr_sf_hdr ) && xfs_has_attr2 (mp ) &&
820
820
(dp -> i_df .if_format != XFS_DINODE_FMT_BTREE ) &&
821
821
!(args -> op_flags & (XFS_DA_OP_ADDNAME | XFS_DA_OP_REPLACE ))) {
822
822
xfs_attr_fork_remove (dp , args -> trans );
823
823
} else {
824
824
xfs_idata_realloc (dp , - size , XFS_ATTR_FORK );
825
825
dp -> i_forkoff = xfs_attr_shortform_bytesfit (dp , totsize );
826
826
ASSERT (dp -> i_forkoff );
827
- ASSERT (totsize > sizeof (xfs_attr_sf_hdr_t ) ||
827
+ ASSERT (totsize > sizeof (struct xfs_attr_sf_hdr ) ||
828
828
(args -> op_flags & XFS_DA_OP_ADDNAME ) ||
829
829
!xfs_has_attr2 (mp ) ||
830
830
dp -> i_df .if_format == XFS_DINODE_FMT_BTREE );
Original file line number Diff line number Diff line change 6
6
#ifndef __XFS_ATTR_SF_H__
7
7
#define __XFS_ATTR_SF_H__
8
8
9
- /*
10
- * Attribute storage when stored inside the inode.
11
- *
12
- * Small attribute lists are packed as tightly as possible so as
13
- * to fit into the literal area of the inode.
14
- */
15
- typedef struct xfs_attr_sf_hdr xfs_attr_sf_hdr_t ;
16
-
17
9
/*
18
10
* We generate this then sort it, attr_list() must return things in hash-order.
19
11
*/
You can’t perform that action at this time.
0 commit comments