]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.fixes/ocfs2-add-handler_map-array-bounds-checking.patch
Revert "Move xen patchset to new version's subdir."
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.fixes / ocfs2-add-handler_map-array-bounds-checking.patch
diff --git a/src/patches/suse-2.6.27.31/patches.fixes/ocfs2-add-handler_map-array-bounds-checking.patch b/src/patches/suse-2.6.27.31/patches.fixes/ocfs2-add-handler_map-array-bounds-checking.patch
deleted file mode 100644 (file)
index fa20738..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-From: Tiger Yang <tiger.yang@oracle.com>
-Date: Thu, 23 Oct 2008 16:34:44 +0800
-Subject: ocfs2: add handler_map array bounds checking
-
-Make the handler_map array as large as the possible value range to avoid
-a fencepost error.
-
-[ Utilize alternate method -- Joel ]
-
-Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
-Signed-off-by: Joel Becker <joel.becker@oracle.com>
-Signed-off-by: Mark Fasheh <mfasheh@suse.com>
----
- fs/ocfs2/xattr.c |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-Index: linux-2.6.27-ocfs2/fs/ocfs2/xattr.c
-===================================================================
---- linux-2.6.27-ocfs2.orig/fs/ocfs2/xattr.c
-+++ linux-2.6.27-ocfs2/fs/ocfs2/xattr.c
-@@ -78,7 +78,7 @@ struct xattr_handler *ocfs2_xattr_handle
-       NULL
- };
--static struct xattr_handler *ocfs2_xattr_handler_map[] = {
-+static struct xattr_handler *ocfs2_xattr_handler_map[OCFS2_XATTR_MAX] = {
-       [OCFS2_XATTR_INDEX_USER]        = &ocfs2_xattr_user_handler,
-       [OCFS2_XATTR_INDEX_TRUSTED]     = &ocfs2_xattr_trusted_handler,
- };