]> 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)
commitccb52f8625e91eb197d9d3bb789b4a9084ce21a2
tree0ae5ec7f5a79410e12710941fffc9725a687c6d8
parent48c1ae3b802f7593bd70303b69b1d1f1e1d53bac
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