]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs: fix bad error handling in send_layoutget
authorJeff Layton <jlayton@poochiereds.net>
Tue, 17 May 2016 16:28:45 +0000 (12:28 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 May 2016 19:48:11 +0000 (15:48 -0400)
commit612ca010c9a9d9d2ff7b745c8a0f4ae50829a286
tree290ac16ad003538b28b47514c0e29b9e49fd559d
parent75fd9f6eaeb659d2583b93f3a51489606aa6920e
pnfs: fix bad error handling in send_layoutget

Currently, the code will clear the fail bit if we get back a fatal
error. I don't think that's correct -- we want to clear that bit
if we do not get a fatal error.

Fixes: e1790c69f0 (nfs: handle request add failure properly)
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/pnfs.c