提交 3f52e016 编写于 作者: D Dan Carpenter 提交者: Darrick J. Wong

xfs: delete unnecessary NULL checks

These NULL check are no long needed after commit 2ed5b09b ("xfs:
make inode attribute forks a permanent part of struct xfs_inode").
Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: NDarrick J. Wong <djwong@kernel.org>
Signed-off-by: NDarrick J. Wong <djwong@kernel.org>
上级 fdbae121
......@@ -724,8 +724,7 @@ xfs_ifork_verify_local_attr(
if (fa) {
xfs_inode_verifier_error(ip, -EFSCORRUPTED, "attr fork",
ifp ? ifp->if_u1.if_data : NULL,
ifp ? ifp->if_bytes : 0, fa);
ifp->if_u1.if_data, ifp->if_bytes, fa);
return -EFSCORRUPTED;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册