[Ocfs2-commits] smushran commits r3107 - in branches/ocfs2-1.2.9/fs/ocfs2: . cluster dlm
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Tue Nov 11 16:38:05 PST 2008
Author: smushran
Date: 2008-11-11 16:38:05 -0800 (Tue, 11 Nov 2008)
New Revision: 3107
Removed:
branches/ocfs2-1.2.9/fs/ocfs2/cluster/endian.h
branches/ocfs2-1.2.9/fs/ocfs2/endian.h
Modified:
branches/ocfs2-1.2.9/fs/ocfs2/Makefile
branches/ocfs2-1.2.9/fs/ocfs2/cluster/Makefile
branches/ocfs2-1.2.9/fs/ocfs2/cluster/nodemanager.c
branches/ocfs2-1.2.9/fs/ocfs2/dlm/dlmast.c
branches/ocfs2-1.2.9/fs/ocfs2/ocfs2.h
Log:
ocfs2: Remove endian.h
endian.h iis no longer required as the functions in it have been
moved to kapi-compat.
Signed-off-by: jlbec
Modified: branches/ocfs2-1.2.9/fs/ocfs2/Makefile
===================================================================
--- branches/ocfs2-1.2.9/fs/ocfs2/Makefile 2008-11-12 00:37:18 UTC (rev 3106)
+++ branches/ocfs2-1.2.9/fs/ocfs2/Makefile 2008-11-12 00:38:05 UTC (rev 3107)
@@ -113,7 +113,6 @@
dcache.h \
dir.h \
dlmglue.h \
- endian.h \
export.h \
extent_map.h \
file.h \
Modified: branches/ocfs2-1.2.9/fs/ocfs2/cluster/Makefile
===================================================================
--- branches/ocfs2-1.2.9/fs/ocfs2/cluster/Makefile 2008-11-12 00:37:18 UTC (rev 3106)
+++ branches/ocfs2-1.2.9/fs/ocfs2/cluster/Makefile 2008-11-12 00:38:05 UTC (rev 3107)
@@ -33,7 +33,6 @@
ver.c
HEADERS = \
- endian.h \
heartbeat.h \
masklog.h \
nodemanager.h \
Deleted: branches/ocfs2-1.2.9/fs/ocfs2/cluster/endian.h
===================================================================
--- branches/ocfs2-1.2.9/fs/ocfs2/cluster/endian.h 2008-11-12 00:37:18 UTC (rev 3106)
+++ branches/ocfs2-1.2.9/fs/ocfs2/cluster/endian.h 2008-11-12 00:38:05 UTC (rev 3107)
@@ -1,30 +0,0 @@
-/* -*- mode: c; c-basic-offset: 8; -*-
- * vim: noexpandtab sw=8 ts=8 sts=0:
- *
- * Copyright (C) 2005 Oracle. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
- */
-
-#ifndef OCFS2_CLUSTER_ENDIAN_H
-#define OCFS2_CLUSTER_ENDIAN_H
-
-static inline void be32_add_cpu(__be32 *var, u32 val)
-{
- *var = cpu_to_be32(be32_to_cpu(*var) + val);
-}
-
-#endif /* OCFS2_CLUSTER_ENDIAN_H */
Modified: branches/ocfs2-1.2.9/fs/ocfs2/cluster/nodemanager.c
===================================================================
--- branches/ocfs2-1.2.9/fs/ocfs2/cluster/nodemanager.c 2008-11-12 00:37:18 UTC (rev 3106)
+++ branches/ocfs2-1.2.9/fs/ocfs2/cluster/nodemanager.c 2008-11-12 00:38:05 UTC (rev 3107)
@@ -25,7 +25,6 @@
#include <linux/proc_fs.h>
#include <linux/configfs.h>
-#include "endian.h"
#include "tcp.h"
#include "nodemanager.h"
#include "heartbeat.h"
Modified: branches/ocfs2-1.2.9/fs/ocfs2/dlm/dlmast.c
===================================================================
--- branches/ocfs2-1.2.9/fs/ocfs2/dlm/dlmast.c 2008-11-12 00:37:18 UTC (rev 3106)
+++ branches/ocfs2-1.2.9/fs/ocfs2/dlm/dlmast.c 2008-11-12 00:38:05 UTC (rev 3107)
@@ -43,7 +43,6 @@
#include "cluster/heartbeat.h"
#include "cluster/nodemanager.h"
#include "cluster/tcp.h"
-#include "cluster/endian.h"
#include "dlmapi.h"
#include "dlmcommon.h"
Deleted: branches/ocfs2-1.2.9/fs/ocfs2/endian.h
===================================================================
--- branches/ocfs2-1.2.9/fs/ocfs2/endian.h 2008-11-12 00:37:18 UTC (rev 3106)
+++ branches/ocfs2-1.2.9/fs/ocfs2/endian.h 2008-11-12 00:38:05 UTC (rev 3107)
@@ -1,25 +0,0 @@
-/* -*- mode: c; c-basic-offset: 8; -*-
- * vim: noexpandtab sw=8 ts=8 sts=0:
- *
- * Copyright (C) 2005 Oracle. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
- */
-
-#ifndef OCFS2_ENDIAN_H
-#define OCFS2_ENDIAN_H
-
-#endif /* OCFS2_ENDIAN_H */
Modified: branches/ocfs2-1.2.9/fs/ocfs2/ocfs2.h
===================================================================
--- branches/ocfs2-1.2.9/fs/ocfs2/ocfs2.h 2008-11-12 00:37:18 UTC (rev 3106)
+++ branches/ocfs2-1.2.9/fs/ocfs2/ocfs2.h 2008-11-12 00:38:05 UTC (rev 3107)
@@ -41,7 +41,6 @@
#include "dlm/dlmapi.h"
#include "ocfs2_fs.h"
-#include "endian.h"
#include "ocfs2_lockid.h"
struct ocfs2_extent_map {
More information about the Ocfs2-commits
mailing list