[PATCH] xfs_fsr: fix test for short write
Christoph Hellwig
hch at infradead.org
Tue Sep 22 07:03:53 CDT 2009
On Thu, Sep 17, 2009 at 11:08:13PM -0500, Eric Sandeen wrote:
> Clang found this one too, as a dead nested assignment.
>
> The point is to see if we write all the bytes; but the initial
> assignment is backwards. It's safe in the end, because if they
> weren't already equal anyway, we'd have exited prior to this, but
> it's worth fixing up for clarity.
>
> Signed-of-by: Eric Sandeen <sandeen at sandeen.net>
Looks good to me,
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the xfs
mailing list