xfs: open-code xfs_buf_item_dirty()
authorBrian Foster <bfoster@redhat.com>
Tue, 29 Aug 2017 17:08:36 +0000 (10:08 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 1 Sep 2017 17:55:30 +0000 (10:55 -0700)
commita4f6cf6b2b6b60ec2a05a33a32e65caa4149aa2b
treeb00c2c811a7968971e936067f6390bae27ec53f7
parent8ad7c629b18695ec1ee8654fb27599864049862b
xfs: open-code xfs_buf_item_dirty()

It checks a single flag and has one caller. It probably isn't worth
its own function.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_buf_item.h
fs/xfs/xfs_trans_buf.c