]> 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)
commit10d759499b6f8ad343a3b6b5af58e8d6c23e538b
tree290ac16ad003538b28b47514c0e29b9e49fd559d
parentc93bdddd7ccf42b3b11b09fc2d445d1b1296100a
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: 8c19819295 (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