]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit59f9e1e620872ca58703fd159c4890ebfcd5c6ed
tree8ee21d81f99dd2efd801c59c1d5eaf800f6b0ec0
parent8b9d9c890b12573574f8f6a1af488f0a44497e1f
Btrfs: check the return value of filemap_write_and_wait in the space cache

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>
fs/btrfs/free-space-cache.c