]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS: Use the standard I/O stateid when calling LAYOUTGET
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 11 Sep 2017 17:09:37 +0000 (13:09 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 12 Sep 2017 02:19:00 +0000 (22:19 -0400)
commitae566171aab498598d5145edba22716aaed6217d
treee4ae5571a942caa20bbe4a9119d34944839feffb
parent96c8143be76a4020eaf265dbd0769de78be64950
pNFS: Use the standard I/O stateid when calling LAYOUTGET

Instead of having a private method for copying the open/delegation stateid,
use the same call that is used for standard I/O through the MDS.

Note that this means we transmit the stateid with a zero seqid, avoiding
issues with NFS4ERR_OLD_STATEID.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c