]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc0a3a3bfc4ae6a0ffdb0e88af7cdf33c2d313f3c
tree2726472653741a7bd1513373e0871c5fdf65a10e
parent0462eec61bdedffaafb86fc572dacb630f872f17
Revert "nfs: take extra reference to fl->fl_file when running a LOCKU operation"

This reverts commit 6bd60992ec8b9ddf216f13d3e6788f4871b04c4c.

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