]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/suse-2.6.27.31/patches.suse/ocfs2-Uninline-ocfs2_xattr_name_hash.patch
Reenabled linux-xen, added patches for Xen Kernel Version 2.6.27.31,
[people/teissler/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.suse / ocfs2-Uninline-ocfs2_xattr_name_hash.patch
1 From: Mark Fasheh <mfasheh@suse.com>
2 Subject: ocfs2: Uninline ocfs2_xattr_name_hash()
3 Patch-mainline: 2.6.28
4
5 This is too big to be inlined.
6
7 Signed-off-by: Mark Fasheh <mfasheh@suse.com>
8 ---
9 fs/ocfs2/xattr.c | 10 +++++-----
10 1 files changed, 5 insertions(+), 5 deletions(-)
11
12 Index: linux-2.6.27/fs/ocfs2/xattr.c
13 ===================================================================
14 --- linux-2.6.27.orig/fs/ocfs2/xattr.c
15 +++ linux-2.6.27/fs/ocfs2/xattr.c
16 @@ -160,11 +160,11 @@ static inline struct xattr_handler *ocfs
17 return handler;
18 }
19
20 -static inline u32 ocfs2_xattr_name_hash(struct inode *inode,
21 - char *prefix,
22 - int prefix_len,
23 - char *name,
24 - int name_len)
25 +static u32 ocfs2_xattr_name_hash(struct inode *inode,
26 + char *prefix,
27 + int prefix_len,
28 + char *name,
29 + int name_len)
30 {
31 /* Get hash value of uuid from super block */
32 u32 hash = OCFS2_SB(inode->i_sb)->uuid_hash;