Btrfs: add more error checking to btrfs_dirty_inode
authorChris Mason <chris.mason@oracle.com>
Thu, 27 May 2010 14:23:00 +0000 (10:23 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 27 May 2010 14:23:00 +0000 (10:23 -0400)
commit9aeead73782c4b8e2a91def36dbf95db28605c95
tree7dc2cc6f382ec72715c87ac17ff20e7c0649e4b8
parent5a5f79b57069c5691f5b6fd8381fdf487f548ae5
Btrfs: add more error checking to btrfs_dirty_inode

The ENOSPC code will now return ENOSPC to btrfs_start_transaction.
btrfs_dirty_inode needs to check for this and error out appropriately.

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