Fix leaf overflow check in btrfs_insert_empty_items
authorChris Mason <chris.mason@oracle.com>
Fri, 12 Sep 2008 19:32:53 +0000 (15:32 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:07 +0000 (11:04 -0400)
commitf25956cc582f5954033cca3f9488c0a5d5193541
tree0ade2c55ef8283931f947199447f7aff454c9b57
parent23a07867b78ee0f33b01466e52bb608c336b26ee
Fix leaf overflow check in btrfs_insert_empty_items

It was incorrectly adding an extra sizeof(struct btrfs_item) and causing
false positives (oops)

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c