summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2008-02-06 12:37:40 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 21:41:08 +0300
commitbcf11cbeccd7d981d68567942ba6ec184890bc29 (patch)
treec23b864f3a7478cf73828cc06d32d0a0a83246cf /fs
parente381d1c46037aa4191c35e7514191bb3de739cbc (diff)
downloadlinux-bcf11cbeccd7d981d68567942ba6ec184890bc29.tar.xz
fs/reiserfs/xattr.c: use LIST_HEAD instead of LIST_HEAD_INIT
Signed-off-by: Denis Cheng <crquan@gmail.com> Cc: Chris Mason <chris.mason@oracle.com> Cc: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/reiserfs/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/xattr.c b/fs/reiserfs/xattr.c
index 1597f6b649e0..a5bd23ce0e46 100644
--- a/fs/reiserfs/xattr.c
+++ b/fs/reiserfs/xattr.c
@@ -1084,7 +1084,7 @@ ssize_t reiserfs_listxattr(struct dentry * dentry, char *buffer, size_t size)
}
/* This is the implementation for the xattr plugin infrastructure */
-static struct list_head xattr_handlers = LIST_HEAD_INIT(xattr_handlers);
+static LIST_HEAD(xattr_handlers);
static DEFINE_RWLOCK(handler_lock);
static struct reiserfs_xattr_handler *find_xattr_handler_prefix(const char