aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/pagelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/pagelist.c')
-rw-r--r--fs/nfs/pagelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/pagelist.c b/fs/nfs/pagelist.c
index 6104d3500b49..745a612dbe22 100644
--- a/fs/nfs/pagelist.c
+++ b/fs/nfs/pagelist.c
@@ -117,7 +117,7 @@ __nfs_iocounter_wait(struct nfs_io_counter *c)
117 set_bit(NFS_IO_INPROGRESS, &c->flags); 117 set_bit(NFS_IO_INPROGRESS, &c->flags);
118 if (atomic_read(&c->io_count) == 0) 118 if (atomic_read(&c->io_count) == 0)
119 break; 119 break;
120 ret = nfs_wait_bit_killable(&c->flags); 120 ret = nfs_wait_bit_killable(&q.key);
121 } while (atomic_read(&c->io_count) != 0); 121 } while (atomic_read(&c->io_count) != 0);
122 finish_wait(wq, &q.wait); 122 finish_wait(wq, &q.wait);
123 return ret; 123 return ret;