xfs: remove pointless unlocked assertion
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 16:48:14 +0000 (09:48 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 23 Apr 2024 23:55:14 +0000 (16:55 -0700)
commit13db7007892694c891fc37feccbd2ac8f227af78
tree19926adf99915250c41806523046d1aac4413db6
parent65a1fb7a11291f361d36e6ebf3bb5e60e9ca8d13
xfs: remove pointless unlocked assertion

Remove this assertion about the inode not having an attr fork from
xfs_bmap_add_attrfork because the function handles that case just fine.
Weirder still, the function actually /requires/ the caller not to hold
the ILOCK, which means that its accesses are not stabilized.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_bmap.c