summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
authorTrond Myklebust2015-08-13 16:59:07 +0200
committerTrond Myklebust2015-08-17 20:05:43 +0200
commit6f536936b79bd4b5cea8fb0e5b8b0bce8cd1ea4a (patch)
treefe3006ea3e7dd028522af5aa124d7dadfd8fc0cb /net/sunrpc/xprtsock.c
parentNFS: nfs_set_pgio_error sometimes misses errors (diff)
downloadkernel-qcow2-linux-6f536936b79bd4b5cea8fb0e5b8b0bce8cd1ea4a.tar.gz
kernel-qcow2-linux-6f536936b79bd4b5cea8fb0e5b8b0bce8cd1ea4a.tar.xz
kernel-qcow2-linux-6f536936b79bd4b5cea8fb0e5b8b0bce8cd1ea4a.zip
NFSv4.1/pNFS: Fix borken function _same_data_server_addrs_locked()
- Switch back to using list_for_each_entry(). Fixes an incorrect test for list NULL termination. - Do not assume that lists are sorted. - Finally, consider an existing entry to match if it consists of a subset of the addresses in the new entry. Cc: stable@vger.kernel.org # 4.0+ Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
0 files changed, 0 insertions, 0 deletions