Btrfs: improve error handling for btrfs_insert_dir_item callers
authorChris Mason <chris.mason@oracle.com>
Mon, 20 Feb 2012 13:40:56 +0000 (08:40 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 23 Feb 2012 15:43:45 +0000 (10:43 -0500)
commitfe66a05a06795bd3b788404d69ea7709f46a1609
tree8d576c0c69ef44a253370bbec135efe2477d18d2
parent692e5759a43b916f0b66bcb39b2957499992381e
Btrfs: improve error handling for btrfs_insert_dir_item callers

This allows us to gracefully continue if we aren't able to insert
directory items, both for normal files/dirs and snapshots.

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