Files
android_kernel_xiaomi_sm8450/fs/nfs
Trond Myklebust 56b38a1f7c pNFS: Fix post-layoutget error handling in pnfs_update_layout()
The non-retry error path is currently broken and ends up releasing the
reference to the layout twice. It also can end up clearing the
NFS_LAYOUT_FIRST_LAYOUTGET flag twice, causing a race.

In addition, the retry path will fail to decrement the plh_outstanding
counter.

Fixes: 183d9e7b11 ("pnfs: rework LAYOUTGET retry handling")
Cc: stable@vger.kernel.org # 4.7
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2016-07-19 16:22:47 -04:00
..
2016-06-24 12:01:00 -04:00
2016-06-24 12:01:00 -04:00
2015-04-23 15:16:14 -04:00
2012-07-30 19:06:41 -04:00
2015-02-03 11:06:34 -08:00
2016-03-31 00:30:15 -04:00
2016-05-17 15:47:55 -04:00
2015-04-23 15:16:14 -04:00
2015-04-23 15:16:14 -04:00
2016-05-17 15:48:06 -04:00
2016-05-17 15:47:55 -04:00
2016-05-17 15:47:55 -04:00
2012-07-30 19:06:52 -04:00
2016-05-09 11:39:45 -04:00
2016-05-17 15:47:55 -04:00
2016-06-24 12:01:00 -04:00
2016-05-09 11:39:45 -04:00