nfs: remove WARN_ON_ONCE from nfs_direct_good_bytes
authorPeng Tao <[email protected]>
Thu, 9 Apr 2015 15:02:17 +0000 (23:02 +0800)
committerTrond Myklebust <[email protected]>
Thu, 23 Apr 2015 19:05:19 +0000 (15:05 -0400)
commit05f54903d9d370a4cd302a85681304d3ec59e5c1
treeb0b52ae5364e7bbfb5a28ef0473b038bb1f77076
parent1ccbad9f9f9bd36db26a10f0b17fbaf12b3ae93a
nfs: remove WARN_ON_ONCE from nfs_direct_good_bytes

For flexfiles driver, we might choose to read from mirror index other
than 0 while mirror_count is always 1 for read.

Reported-by: Jean Spector <[email protected]>
Cc: <[email protected]> # v3.19+
Cc: Weston Andros Adamson <[email protected]>
Signed-off-by: Peng Tao <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
fs/nfs/direct.c