Revert "nfs: take extra reference to fl->fl_file when running a LOCKU operation"
authorJeff Layton <jeff.layton@primarydata.com>
Sat, 11 Jul 2015 10:43:01 +0000 (06:43 -0400)
committerJeff Layton <jeff.layton@primarydata.com>
Mon, 13 Jul 2015 10:29:11 +0000 (06:29 -0400)
commited056764271e71004b3118619de1ebfefb2acf6b
tree2726472653741a7bd1513373e0871c5fdf65a10e
parentb9243b5a5d2da4eb0a54950f4e2d6272863b48be
Revert "nfs: take extra reference to fl->fl_file when running a LOCKU operation"

This reverts commit db2efec0caba4f81a22d95a34da640b86c313c8e.

William reported that he was seeing instability with this patch, which
is likely due to the fact that it can cause the kernel to take a new
reference to a filp after the last reference has already been put.

Revert this patch for now, as we'll need to fix this in another way.

Cc: stable@vger.kernel.org
Reported-by: William Dauchy <william@gandi.net>
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Reviewed-by: "J. Bruce Fields" <bfields@fieldses.org>
Tested-by: "J. Bruce Fields" <bfields@fieldses.org>
fs/nfs/nfs4proc.c