From: Benny Halevy Date: Tue, 14 Jun 2011 20:30:16 +0000 (-0400) Subject: NFSv4.1: fix break condition in pnfs_find_lseg X-Git-Tag: v3.0-rc5~51^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d771e3a43e23a37398b7e05a9d1b1036d698263c;p=pandora-kernel.git NFSv4.1: fix break condition in pnfs_find_lseg The break condition to skip out of the loop got broken when cmp_layout was change. Essentially, we want to stop looking once we know no layout on the remainder of the list can match the first byte of the looked-up range. Reported-by: Peng Tao Signed-off-by: Benny Halevy Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed