]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit549b4fdb8f3c0708bbc0ee12ff955cd206c0f60c
tree8ee21d81f99dd2efd801c59c1d5eaf800f6b0ec0
parenta67509c30079f4c5025fb19ea443fb2906c3a85e
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