Re: [PATCH 2/4] xfs_spaceman: remove unnecessary test in openfile()

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

 



On Mon, Aug 26, 2019 at 02:20:32PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> 
> xfs_spaceman always records fs_path information for an open file because
> spaceman requires running on XFS and it always passes a non-null fs_path
> to openfile.  Therefore, openfile doesn't need the fs_path null check.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>

*nod*

Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx>

-- 
Dave Chinner
david@xxxxxxxxxxxxx



[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