Merge branch 'bugfixes' into linux-next
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Apr 2013 19:52:14 +0000 (15:52 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Apr 2013 19:52:14 +0000 (15:52 -0400)
Fix up a conflict between the linux-next branch and mainline.
Conflicts:
fs/nfs/nfs4proc.c

1  2 
fs/nfs/nfs4client.c
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c
net/sunrpc/clnt.c

Simple merge
index e13b7ccee98de41e73c1f4236d0dcc6fe43272d8,0ad025eb523bc6b651d82497c29a0d27ebdf3dac..3bc847ce483845488ad5720789cadfcb27e0d6fb
@@@ -1102,11 -1046,10 +1102,12 @@@ static struct nfs4_state *nfs4_try_open
                /* Save the delegation */
                nfs4_stateid_copy(&stateid, &delegation->stateid);
                rcu_read_unlock();
 -              ret = nfs_may_open(state->inode, state->owner->so_cred, open_mode);
 -              if (ret != 0)
 -                      goto out;
+               nfs_release_seqid(opendata->o_arg.seqid);
 +              if (!opendata->is_recover) {
 +                      ret = nfs_may_open(state->inode, state->owner->so_cred, open_mode);
 +                      if (ret != 0)
 +                              goto out;
 +              }
                ret = -EAGAIN;
  
                /* Try to update the stateid using the delegation */
Simple merge
Simple merge