diff options
Diffstat (limited to 'fs/xfs/xfs_dir2_sf.c')
-rw-r--r-- | fs/xfs/xfs_dir2_sf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_dir2_sf.c b/fs/xfs/xfs_dir2_sf.c index 42bbcff15cc5..aafc6e46cb58 100644 --- a/fs/xfs/xfs_dir2_sf.c +++ b/fs/xfs/xfs_dir2_sf.c | |||
@@ -473,7 +473,7 @@ xfs_dir2_sf_addname_hard( | |||
473 | * to insert the new entry. | 473 | * to insert the new entry. |
474 | * If it's going to end up at the end then oldsfep will point there. | 474 | * If it's going to end up at the end then oldsfep will point there. |
475 | */ | 475 | */ |
476 | for (offset = dp->d_ops->data_first_offset(), | 476 | for (offset = dp->d_ops->data_first_offset, |
477 | oldsfep = xfs_dir2_sf_firstentry(oldsfp), | 477 | oldsfep = xfs_dir2_sf_firstentry(oldsfp), |
478 | add_datasize = dp->d_ops->data_entsize(args->namelen), | 478 | add_datasize = dp->d_ops->data_entsize(args->namelen), |
479 | eof = (char *)oldsfep == &buf[old_isize]; | 479 | eof = (char *)oldsfep == &buf[old_isize]; |
@@ -556,7 +556,7 @@ xfs_dir2_sf_addname_pick( | |||
556 | 556 | ||
557 | sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; | 557 | sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; |
558 | size = dp->d_ops->data_entsize(args->namelen); | 558 | size = dp->d_ops->data_entsize(args->namelen); |
559 | offset = dp->d_ops->data_first_offset(); | 559 | offset = dp->d_ops->data_first_offset; |
560 | sfep = xfs_dir2_sf_firstentry(sfp); | 560 | sfep = xfs_dir2_sf_firstentry(sfp); |
561 | holefit = 0; | 561 | holefit = 0; |
562 | /* | 562 | /* |
@@ -629,7 +629,7 @@ xfs_dir2_sf_check( | |||
629 | mp = dp->i_mount; | 629 | mp = dp->i_mount; |
630 | 630 | ||
631 | sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; | 631 | sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; |
632 | offset = dp->d_ops->data_first_offset(); | 632 | offset = dp->d_ops->data_first_offset; |
633 | ino = dp->d_ops->sf_get_parent_ino(sfp); | 633 | ino = dp->d_ops->sf_get_parent_ino(sfp); |
634 | i8count = ino > XFS_DIR2_MAX_SHORT_INUM; | 634 | i8count = ino > XFS_DIR2_MAX_SHORT_INUM; |
635 | 635 | ||