]> 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)
commitbe76ad0cfdbf5291d960a388defe74416abf75ea
tree8ee21d81f99dd2efd801c59c1d5eaf800f6b0ec0
parent63f86f1f77337b8c5f02351196cb76f0880275ae
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