| commit | 83aa3e0f791d458a28f91d7a50f92926f971ef7c | [log] [tgz] |
|---|---|---|
| author | Arnd Bergmann <arnd@arndb.de> | Tue Oct 18 17:21:30 2016 +0200 |
| committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Wed Oct 19 14:39:15 2016 -0400 |
| tree | b0383ae4356b83e46a63c17610fbaf9aa4e30d50 | |
| parent | a3f9d1b58a9ffce011ef4f074bfa36ae30eade28 [diff] |
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>