[PATCH 51/55] xfs: fix calculation of the number of node entries in a dir3 node

Mark Tinguely tinguely at sgi.com
Fri Sep 6 13:53:25 CDT 2013


On 09/04/13 17:05, Dave Chinner wrote:
> From: Dave Chinner<dchinner at redhat.com>
>
> The calculation doesn't take into account the size of the dir v3
> header, so overestimates the hash entries in a node. This causes
> directory buffer overruns when splitting and merging nodes.
>
> Signed-off-by: Dave Chinner<dchinner at redhat.com>
> ---

Looks good, same as kernel commit 37804376.

Reviewed-by: Mark Tinguely <tinguely at sgi.com>



More information about the xfs mailing list