From e375bbc65f04988c6afa4deabe99ca8a12cb6cc5 Mon Sep 17 00:00:00 2001 From: Mark Fasheh Date: Tue, 7 Oct 2008 11:02:04 -0700 Subject: [PATCH] --- yaml --- r: 114405 b: refs/heads/master c: 4cc8124584610fbe087ea2bed29ca52d2d0aa84a h: refs/heads/master i: 114403: 6350c0e0893d885a928f6d8fa8be49bcd645b043 v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/localalloc.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 47c7f7e18727..fd6e06167094 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 009d37502a7b9fc89741e66b4454afca4edc1c26 +refs/heads/master: 4cc8124584610fbe087ea2bed29ca52d2d0aa84a diff --git a/trunk/fs/ocfs2/localalloc.c b/trunk/fs/ocfs2/localalloc.c index 02227c392510..b1c634d676a0 100644 --- a/trunk/fs/ocfs2/localalloc.c +++ b/trunk/fs/ocfs2/localalloc.c @@ -76,8 +76,6 @@ static int ocfs2_local_alloc_slide_window(struct ocfs2_super *osb, #ifdef CONFIG_OCFS2_FS_STATS -DEFINE_MUTEX(la_debug_mutex); - static int ocfs2_la_debug_open(struct inode *inode, struct file *file) { file->private_data = inode->i_private; @@ -89,6 +87,7 @@ static int ocfs2_la_debug_open(struct inode *inode, struct file *file) static ssize_t ocfs2_la_debug_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) { + static DEFINE_MUTEX(la_debug_mutex); struct ocfs2_super *osb = file->private_data; int written, ret; char *buf = osb->local_alloc_debug_buf;