projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d80f75
)
ocfs2: make struct ocfs2_control_device static
author
Adrian Bunk
<bunk@kernel.org>
Mon, 21 Apr 2008 08:49:26 +0000
(11:49 +0300)
committer
Mark Fasheh
<mfasheh@suse.com>
Thu, 1 May 2008 00:09:08 +0000
(17:09 -0700)
This patch makes the needlessly global struct ocfs2_control_device
static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/stack_user.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/stack_user.c
b/fs/ocfs2/stack_user.c
index 7428663f9cbbf78a75dba73ea67db3ab5e6001b7..b503772cd0ec83f86a2b55aa5fa512cd8ce20c4a 100644
(file)
--- a/
fs/ocfs2/stack_user.c
+++ b/
fs/ocfs2/stack_user.c
@@
-635,7
+635,7
@@
static const struct file_operations ocfs2_control_fops = {
.owner = THIS_MODULE,
};
-struct miscdevice ocfs2_control_device = {
+st
atic st
ruct miscdevice ocfs2_control_device = {
.minor = MISC_DYNAMIC_MINOR,
.name = "ocfs2_control",
.fops = &ocfs2_control_fops,