NFS: Fabricate fscache server index key correctly
authorDavid Howells <dhowells@redhat.com>
Thu, 25 Sep 2014 13:34:41 +0000 (14:34 +0100)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 26 Sep 2014 01:25:18 +0000 (21:25 -0400)
When fabricating a server index key for fscache, we should clear the index key
buffer before starting to fill it in, not in the middle.

Reported-by: James Pearson <james-p@moving-picture.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>

No differences found