]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Label stateids with the type
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 16 May 2016 21:42:43 +0000 (17:42 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 May 2016 19:48:06 +0000 (15:48 -0400)
commit5243d90c2c7fedb204f7d44d5619a47866325f85
tree0ae5ec7f5a79410e12710941fffc9725a687c6d8
parentbdf1b00b6a18fc3d4b4348b8ac32ccd6cd998276
NFSv4: Label stateids with the type

In order to more easily distinguish what kind of stateid we are dealing
with, introduce a type that can be used to label the stateid structure.

The label will be useful both for debugging, but also when dealing with
operations like SETATTR, READ and WRITE that can take several different
types of stateid as arguments.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/callback_xdr.c
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/flexfilelayout/flexfilelayoutdev.c
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c
fs/nfs/nfs4xdr.c
include/linux/nfs4.h