diff options
author | Yan Zheng <zheng.yan@oracle.com> | 2009-08-07 19:51:33 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-08-07 19:51:33 +0200 |
commit | ceab36edd3d3ad3ffd01d41d6d1e05ac1ff8357e (patch) | |
tree | a6d899030878d52ae6d7932e459deece3524c787 /net/bluetooth/hci_sysfs.c | |
parent | Btrfs: correct error-handling zlib error handling (diff) | |
download | linux-ceab36edd3d3ad3ffd01d41d6d1e05ac1ff8357e.tar.xz linux-ceab36edd3d3ad3ffd01d41d6d1e05ac1ff8357e.zip |
Btrfs: fix balancing oops when invalidate_inode_pages2 returns EBUSY
invalidate_inode_pages2_range may return -EBUSY occasionally
which results Oops. This patch fixes the issue by moving
invalidate_inode_pages2_range into a loop and keeping calling
it until the return value is not -EBUSY.
The EBUSY return is temporary, and can happen when the btrfs release page
function is unable to release a page because the EXTENT_LOCK
bit is set.
Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'net/bluetooth/hci_sysfs.c')
0 files changed, 0 insertions, 0 deletions