]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: remove unnecessary null pointer checks from _read_agf callers
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 14 Mar 2020 03:04:09 +0000 (23:04 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Sat, 14 Mar 2020 03:04:09 +0000 (23:04 -0400)
commit74b654b465d6c1e1181d36c3485e5ff1756985a1
tree0956b29e75df73e13e7e6051f104dff26113b0a7
parent475f184c7d3c0ffcdd8060ef403ad200472c1e2e
xfs: remove unnecessary null pointer checks from _read_agf callers

Source kernel commit: 706b8c5bc70391be510a5454f307db90b622b279

Drop the null buffer pointer checks in all code that calls
xfs_alloc_read_agf and doesn't pass XFS_ALLOC_FLAG_TRYLOCK because
they're no longer necessary.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_refcount.c