X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fllite%2Frw26.c;h=6fdeba9a97345a179a244d92ddffcd522262cc26;hp=9a59996be6a519246ac91e8f6dbae1ce8cca7561;hb=3e1f8d30cb0209b35410e85e502e2cae40f1b58c;hpb=0d6d0b7bc95a82dee02d35d0a8a41d24692cad45 diff --git a/lustre/llite/rw26.c b/lustre/llite/rw26.c index 9a59996..6fdeba9 100644 --- a/lustre/llite/rw26.c +++ b/lustre/llite/rw26.c @@ -542,7 +542,8 @@ out: vio->u.readwrite.vui_written += tot_bytes; else vio->u.readwrite.vui_read += tot_bytes; - result = -EIOCBQUEUED; + if (result == 0) + result = -EIOCBQUEUED; } return result;