NFS_LAYOUT_RETURN
if (test_bit(NFS_LAYOUT_RETURN, &lo->plh_flags))
set_bit(NFS_LAYOUT_RETURN, &lo->plh_flags);
if (wait_on_bit(&lo->plh_flags, NFS_LAYOUT_RETURN,
wait_on_bit(&lo->plh_flags, NFS_LAYOUT_RETURN, TASK_UNINTERRUPTIBLE);
wait_on_bit(&lo->plh_flags, NFS_LAYOUT_RETURN,
if (lo && test_bit(NFS_LAYOUT_RETURN, &lo->plh_flags)) {
return wait_on_bit_action(&lo->plh_flags, NFS_LAYOUT_RETURN,
if (test_bit(NFS_LAYOUT_RETURN, &lo->plh_flags)) {
if (test_bit(NFS_LAYOUT_RETURN, &lo->plh_flags))
!test_bit(NFS_LAYOUT_RETURN, &lo->plh_flags);
clear_bit_unlock(NFS_LAYOUT_RETURN, &lo->plh_flags);
wake_up_bit(&lo->plh_flags, NFS_LAYOUT_RETURN);
if (test_bit(NFS_LAYOUT_RETURN, &lo->plh_flags) &&
!test_bit(NFS_LAYOUT_RETURN, &lo->plh_flags)) {