[Top] [All Lists]

[patch 0/2] xfs: xfs_tosspages() bug

To: xfs@xxxxxxxxxxx
Subject: [patch 0/2] xfs: xfs_tosspages() bug
From: adahl@xxxxxxx
Date: Thu, 08 Nov 2012 16:23:15 -0600
User-agent: quilt/0.47-15.10
Hi everyone,

This patch set fixes a bug in xfs with the xfs_tosspages() function and adds a 
tosspages test to xfstests.

xfs_tosspages() tries to avoid tossing a partial tail page, but it gets the 
calculation wrong.  As a result, if we pass in an interval [0, PAGE-SIZE-1] we 
end up tossing all pages.  This patch set resolves this issue.



<Prev in Thread] Current Thread [Next in Thread>