nfs4: fix missing-braces warning
authorArnd Bergmann <arnd@arndb.de>
Tue, 18 Oct 2016 15:21:30 +0000 (17:21 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 19 Oct 2016 18:39:15 +0000 (14:39 -0400)
commit83aa3e0f791d458a28f91d7a50f92926f971ef7c
treeb0383ae4356b83e46a63c17610fbaf9aa4e30d50
parenta3f9d1b58a9ffce011ef4f074bfa36ae30eade28
nfs4: fix missing-braces warning

A bugfix introduced a harmless warning for update_open_stateid:

fs/nfs/nfs4proc.c:1548:2: error: missing braces around initializer [-Werror=missing-braces]

Removing the zero in the initializer will do the right thing here
and initialize the entire structure to zero.

Fixes: 1393d9612ba0 ("NFSv4: Fix a race when updating an open_stateid")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c