NFS: Fix comparison between DS address lists
authorWeston Andros Adamson <dros@netapp.com>
Fri, 3 Feb 2012 20:45:40 +0000 (15:45 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 6 Feb 2012 23:48:00 +0000 (18:48 -0500)
commit2d3fe01c36a9b881fae89c5bdf4085a4d7d53ae1
tree96abc37a5977cec03f55c3575db054e4c08283c3
parenta030889a01d1bea921e1a7501010b7b891d2abd2
NFS: Fix comparison between DS address lists

data_server_cache entries should only be treated as the same if the address
list hasn't changed.

A new entry will be made when an MDS changes an address list (as seen by
GETDEVINFO). The old entry will be freed once all references are gone.

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayoutdev.c