]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Btrfs: make sure btrfs_remove_free_space doesn't leak EAGAIN
authorChris Mason <chris.mason@oracle.com>
Fri, 14 Oct 2011 10:31:20 +0000 (06:31 -0400)
committerChris Mason <chris.mason@oracle.com>
Sun, 6 Nov 2011 08:03:47 +0000 (03:03 -0500)
commit1eae31e918972bbeefc119d23c1d67674f49a301
treeb6c1df4d25699812a83f107187b407d53abeb82e
parentcd354ad613a393424f85333ceed6b15e07fb94ae
Btrfs: make sure btrfs_remove_free_space doesn't leak EAGAIN

btrfs_remove_free_space needs to make sure to set ret back to a
valid return value after setting it to EAGAIN, otherwise we return
it to the callers.

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