]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/suse-2.6.27.39/patches.suse/ocfs2-Uninline-ocfs2_xattr_name_hash.patch
Imported linux-2.6.27.39 suse/xen patches.
[ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.suse / ocfs2-Uninline-ocfs2_xattr_name_hash.patch
CommitLineData
2cb7cef9
BS
1From: Mark Fasheh <mfasheh@suse.com>
2Subject: ocfs2: Uninline ocfs2_xattr_name_hash()
3Patch-mainline: 2.6.28
4
5This is too big to be inlined.
6
7Signed-off-by: Mark Fasheh <mfasheh@suse.com>
8---
9 fs/ocfs2/xattr.c | 10 +++++-----
10 1 files changed, 5 insertions(+), 5 deletions(-)
11
12Index: 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;