NFSv4: Kill braindead gcc warnings
nfs4_open_revalidate: 'res' may be used uninitialized nfs4_callback_compound: ‘hdr_res.nops’ may be used uninitialized 'op_nr’ may be used uninitialized encode_getattr_res: ‘savep’ may be used uninitialized Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
@@ -908,7 +908,7 @@ out_put_state_owner:
|
||||
static struct nfs4_state *nfs4_open_delegated(struct inode *inode, int flags, struct rpc_cred *cred)
|
||||
{
|
||||
struct nfs4_exception exception = { };
|
||||
struct nfs4_state *res;
|
||||
struct nfs4_state *res = ERR_PTR(-EIO);
|
||||
int err;
|
||||
|
||||
do {
|
||||
|
Reference in New Issue
Block a user