summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/stack_user.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-21 10:49:26 +0200
committerMark Fasheh <mfasheh@suse.com>2008-05-01 02:09:08 +0200
commit4d8755b5e667df8f01647773ba744a5ac97e68e6 (patch)
treeea6a4a785196d0ed1994716796cf7f9d8f5e902d /fs/ocfs2/stack_user.c
parentocfs2: Correct merge of 52f7c21 (Move /sys/o2cb to /sys/fs/o2cb) (diff)
downloadlinux-4d8755b5e667df8f01647773ba744a5ac97e68e6.tar.xz
linux-4d8755b5e667df8f01647773ba744a5ac97e68e6.zip
ocfs2: make struct ocfs2_control_device static
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>
Diffstat (limited to 'fs/ocfs2/stack_user.c')
-rw-r--r--fs/ocfs2/stack_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/stack_user.c b/fs/ocfs2/stack_user.c
index 7428663f9cbb..b503772cd0ec 100644
--- 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 = {
+static struct miscdevice ocfs2_control_device = {
.minor = MISC_DYNAMIC_MINOR,
.name = "ocfs2_control",
.fops = &ocfs2_control_fops,