NFSv4.1: Ensure that the layout recall callback matches layout stateids
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 12 Feb 2014 13:12:42 +0000 (08:12 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 20 Feb 2014 02:21:05 +0000 (21:21 -0500)
commit27999f253010bd64fd63dc80c99f8e926e2b110d
tree7ada7d5bdf9777e26050e0dc8904f178757e7dee
parente999e80ee9fc47f1febbec6823deda3537dbbd22
NFSv4.1: Ensure that the layout recall callback matches layout stateids

It is not sufficient to compare filehandles when we receive a layout
recall from the server; we also need to check that the layout stateids
match.

Reported-by: shaobingqing <shaobingqing@bwstor.com.cn>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/callback_proc.c