NFSv4: Ensure gcc 4.4.4 can compile initialiser for "invalid_stateid"
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 18 Nov 2017 18:50:11 +0000 (13:50 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 29 Nov 2017 18:46:32 +0000 (13:46 -0500)
commit445f288d706cb5a418b13c340280b47d4585d667
tree32b9b8470654c432c52d8c03f927e30907d04c7f
parentfcfa447062b2061e11f68b846d61cbfe60d0d604
NFSv4: Ensure gcc 4.4.4 can compile initialiser for "invalid_stateid"

gcc 4.4.4 is too old to have full C11 anonymous union support, so
the current initialiser fails to compile.

Reported-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
(compile-)Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4state.c