Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220533
b: refs/heads/master
c: 8f0d97b
h: refs/heads/master
i:
  220531: 2f62e7e
v: v3
  • Loading branch information
Dan Carpenter authored and Trond Myklebust committed Oct 28, 2010
1 parent aaa38aa commit 4d96d71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 015f0212d51d85bd281a831639a769b4a1a3307a
refs/heads/master: 8f0d97b41523fb85a2d230f6794121e5834f0cf9
2 changes: 1 addition & 1 deletion trunk/fs/nfs/idmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static ssize_t nfs_idmap_get_desc(const char *name, size_t namelen,
size_t desclen = typelen + namelen + 2;

*desc = kmalloc(desclen, GFP_KERNEL);
if (!desc)
if (!*desc)
return -ENOMEM;

cp = *desc;
Expand Down

0 comments on commit 4d96d71

Please sign in to comment.