Skip to content

Commit 3f52e01

Browse files
Dan CarpenterDarrick J. Wong
authored andcommitted
xfs: delete unnecessary NULL checks
These NULL check are no long needed after commit 2ed5b09 ("xfs: make inode attribute forks a permanent part of struct xfs_inode"). Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
1 parent fdbae12 commit 3f52e01

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fs/xfs/libxfs/xfs_inode_fork.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,7 @@ xfs_ifork_verify_local_attr(
724724

725725
if (fa) {
726726
xfs_inode_verifier_error(ip, -EFSCORRUPTED, "attr fork",
727-
ifp ? ifp->if_u1.if_data : NULL,
728-
ifp ? ifp->if_bytes : 0, fa);
727+
ifp->if_u1.if_data, ifp->if_bytes, fa);
729728
return -EFSCORRUPTED;
730729
}
731730

0 commit comments

Comments
 (0)