diff --git a/fs/nfs/write.c b/fs/nfs/write.c index cfa47761a8cea26eb6b1583eafefb1a55902f348..75ab7622e0cc193bab28f2ba5bb56d37e5f49465 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -1223,7 +1223,7 @@ static int nfs_can_extend_write(struct file *file, struct page *page, struct ino return 1; if (!flctx || (list_empty_careful(&flctx->flc_flock) && list_empty_careful(&flctx->flc_posix))) - return 0; + return 1; /* Check to see if there are whole file write locks */ ret = 0;