From: Peng Tao Date: Mon, 10 Nov 2014 00:35:34 +0000 (+0800) Subject: nfs: only reset desc->pg_mirror_idx when mirroring is supported X-Git-Tag: fixes-v4.0-rc1~136^2~27^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47af81f29556a45493e5c87289c3c16ce911096c;p=pandora-kernel.git nfs: only reset desc->pg_mirror_idx when mirroring is supported so that we don't reset desc->pg_mirror_idx for read unnecessarily. Remove WARN_ON_ONCE from __nfs_pageio_add_request to allow LD to set pg_mirror_idx for read where pg_mirror_count is always 1. Signed-off-by: Peng Tao Signed-off-by: Tom Haynes --- Reading git-diff-tree failed