git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipc: Use generic ns_common::count
[sfrench/cifs-2.6.git]
/
include
/
linux
/
ipc_namespace.h
diff --git
a/include/linux/ipc_namespace.h
b/include/linux/ipc_namespace.h
index a06a78c67f19f8246b9769a87d2a3cc1ede2ff28..05e22770af51728b4fe4c8268615296bebfb622a 100644
(file)
--- a/
include/linux/ipc_namespace.h
+++ b/
include/linux/ipc_namespace.h
@@
-27,7
+27,6
@@
struct ipc_ids {
};
struct ipc_namespace {
- refcount_t count;
struct ipc_ids ids[3];
int sem_ctls[4];
@@
-128,7
+127,7
@@
extern struct ipc_namespace *copy_ipcs(unsigned long flags,
static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns)
{
if (ns)
- refcount_inc(&ns->count);
+ refcount_inc(&ns->
ns.
count);
return ns;
}