]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1869980c4d9920f0ef971947c3f0cb4ccf70115f
treef99b4d42abdd17d1761b77d108b3621bd0603f52
parent64d49b1980ceec961241d62a27ddf8ca64bf8ec3
NFS: Fabricate fscache server index key correctly

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>
fs/nfs/fscache-index.c