Re: [PATCH 04/16] xfs: embed the xlog_op_header in the commit record

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 09, 2021 at 12:50:43PM +1100, Dave Chinner wrote:
> -			if (optype & XLOG_START_TRANS) {
> +			if (optype) {

Shouldn't this explicitly check for XLOG_START_TRANS or
XLOG_UNMOUNT_TRANS?  The cont flags can't really happen here, so it
won't make a functional difference, but it would document the intent
much better.

Otherwise looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux