summary refs log tree commit diff
path: root/fs/ramfs
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2020-03-25 18:18:21 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-03-27 08:32:53 -0700
commit9590e9c68449055c97e954118699bc9d470d7e30 (patch)
treefdc13e76a6eb3aa5b30aab0eb749a7514a57ee83 /fs/ramfs
parent7ec949212dba350f1dbc339d2db844db68b39725 (diff)
downloadlinux-9590e9c68449055c97e954118699bc9d470d7e30.tar.gz
xfs: re-order initial space accounting checks in xlog_write
Commit and unmount records records do not need start records to be
written, so rearrange the logic in xlog_write() to remove the need
to check for XLOG_TIC_INITED to determine if we should account for
the space used by a start record.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/ramfs')
0 files changed, 0 insertions, 0 deletions