diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-13 10:59:07 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 19:26:08 +0200 |
commit | 0bdce6a850fe41e414700193996165fd787352f4 (patch) | |
tree | f73283393bd1301bf803983b20de6cc2c8e9f575 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | e204275a010138f27bca6bdc24ae6b042cd568e8 (diff) |
NFSv4.1/pNFS: Fix borken function _same_data_server_addrs_locked()
commit 6f536936b79bd4b5cea8fb0e5b8b0bce8cd1ea4a upstream.
- 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.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions