projects
/
platform
/
core
/
system
/
kdbus-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ac8c53
)
namespace.c: fix bug with trailing ; on an if statement
author
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 1 Jan 2014 21:54:20 +0000
(13:54 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 1 Jan 2014 21:54:20 +0000
(13:54 -0800)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
namespace.c
patch
|
blob
|
history
diff --git
a/namespace.c
b/namespace.c
index 75cf5c09daf7aa722a67a4cee706e5ffffd14b1a..ea3b6aadc9e6cee3cc28f1c2061aa11b1892b231 100644
(file)
--- a/
namespace.c
+++ b/
namespace.c
@@
-260,7
+260,7
@@
int kdbus_ns_new(struct kdbus_ns *parent, const char *name, umode_t mode, struct
*/
ret = idr_alloc(&kdbus_ns_major_idr, n, n->major, 0, GFP_KERNEL);
if (ret < 0) {
- if (ret == -ENOSPC)
;
+ if (ret == -ENOSPC)
ret = -EEXIST;
goto exit_unlock;
}