Btrfs: tweak the delayed inode reservations again
authorChris Mason <chris.mason@oracle.com>
Fri, 11 Nov 2011 01:39:08 +0000 (20:39 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 11 Nov 2011 01:39:08 +0000 (20:39 -0500)
commit2115133f8b9a8dbdb217d14080814df07ce90479
tree3b2f3d6839cdb1f6495ae10dd548f7fbfee70266
parent7fd2ae21a42d178982679b86086661292b4afe4a
Btrfs: tweak the delayed inode reservations again

Josef sent along an incremental to the inode reservation
code to make sure we try and fall back to directly updating
the inode item if things go horribly wrong.

This reworks that patch slightly, adding a fallback function
that will always try to update the inode item directly without
going through the delayed_inode code.

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