]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
NFS/pnfs: Do not clobber existing pgio_done_cb in nfs4_proc_read_setup
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 28 Jun 2016 17:54:09 +0000 (13:54 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 30 Jun 2016 19:29:57 +0000 (15:29 -0400)
commitca857cc1d4cf17aba4bbb3b95d35454ad96924b3
tree8445f352804d54453bc9ca1158f7aa7507363fa2
parent5c6e5b60aae4347223f176966455010a5715b863
NFS/pnfs: Do not clobber existing pgio_done_cb in nfs4_proc_read_setup

If a pNFS client sets hdr->pgio_done_cb, then we should not overwrite that
in nfs4_proc_read_setup()

Fixes: 75bf47ebf6b5 ("pNFS/flexfile: Fix erroneous fall back to...")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c