Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361286
b: refs/heads/master
c: ebd6c70
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Linus Torvalds committed Mar 13, 2013
1 parent 09bd6cb commit ab00d75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 801cb2d62d5f673ac671c01397956d8b77a5215b
refs/heads/master: ebd6c70714f5eda9cd1b60d23754ffd1d62481f6
5 changes: 2 additions & 3 deletions trunk/fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,8 @@ kmem_cache *slab)
if (!stid)
return NULL;

if (!idr_pre_get(stateids, GFP_KERNEL))
goto out_free;
if (idr_get_new_above(stateids, stid, min_stateid, &new_id))
new_id = idr_alloc(stateids, stid, min_stateid, 0, GFP_KERNEL);
if (new_id < 0)
goto out_free;
stid->sc_client = cl;
stid->sc_type = 0;
Expand Down

0 comments on commit ab00d75

Please sign in to comment.