NFS: Make opened as optional argument in _nfs4_do_open
authorKinglong Mee <kinglongmee@gmail.com>
Wed, 26 Aug 2015 13:11:39 +0000 (21:11 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 27 Aug 2015 23:44:38 +0000 (19:44 -0400)
commitc5c3fb5f975a8bcc42cd039b83d9a4729ce489bb
tree27aea122bed26e0a8e56bf4e157f3f8d886654a5
parentae57ca0f4fce219ef34c28f0edc210598c465a4d
NFS: Make opened as optional argument in _nfs4_do_open

Check opened, only update it when non-NULL.
It's not needs define an unused value for the opened
when calling _nfs4_do_open.

v3, same as v2.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4file.c
fs/nfs/nfs4proc.c