diff options
Diffstat (limited to 'fs/nfs/pnfs.c')
-rw-r--r-- | fs/nfs/pnfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index 8247bd1634cb..7066cd7c7aff 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c | |||
@@ -1889,7 +1889,7 @@ lookup_again: | |||
1889 | atomic_read(&lo->plh_outstanding) != 0) { | 1889 | atomic_read(&lo->plh_outstanding) != 0) { |
1890 | spin_unlock(&ino->i_lock); | 1890 | spin_unlock(&ino->i_lock); |
1891 | lseg = ERR_PTR(wait_var_event_killable(&lo->plh_outstanding, | 1891 | lseg = ERR_PTR(wait_var_event_killable(&lo->plh_outstanding, |
1892 | atomic_read(&lo->plh_outstanding))); | 1892 | !atomic_read(&lo->plh_outstanding))); |
1893 | if (IS_ERR(lseg) || !list_empty(&lo->plh_segs)) | 1893 | if (IS_ERR(lseg) || !list_empty(&lo->plh_segs)) |
1894 | goto out_put_layout_hdr; | 1894 | goto out_put_layout_hdr; |
1895 | pnfs_put_layout_hdr(lo); | 1895 | pnfs_put_layout_hdr(lo); |