Btrfs: check the return value of filemap_write_and_wait in the space cache
authorJosef Bacik <josef@redhat.com>
Wed, 5 Oct 2011 20:33:53 +0000 (16:33 -0400)
committerJosef Bacik <josef@redhat.com>
Wed, 19 Oct 2011 19:12:53 +0000 (15:12 -0400)
We need to check the return value of filemap_write_and_wait in the space cache
writeout code.  Also don't set the inode's generation until we're sure nothing
else is going to fail.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>

No differences found