[Ocfs2-tools-commits] manish commits r674 - in trunk: . libo2cb
libo2dlm libocfs2
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Fri Mar 18 01:40:59 CST 2005
Author: manish
Date: 2005-03-18 01:40:57 -0600 (Fri, 18 Mar 2005)
New Revision: 674
Added:
trunk/libo2cb/o2cb_err.et
trunk/libo2dlm/o2dlm_err.et
trunk/libocfs2/ocfs2_err.et
Removed:
trunk/libo2cb/o2cb_err.et.in
trunk/libo2dlm/o2dlm_err.et.in
trunk/libocfs2/ocfs2_err.et.in
Modified:
trunk/configure.in
trunk/libo2cb/
trunk/libo2cb/Makefile
trunk/libo2dlm/
trunk/libo2dlm/Makefile
trunk/libocfs2/
trunk/libocfs2/Makefile
Log:
Don't generate useless ET_BASE error codes, and therefore these files do not
need to be generated anymore.
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2005-03-18 07:28:01 UTC (rev 673)
+++ trunk/configure.in 2005-03-18 07:40:57 UTC (rev 674)
@@ -54,7 +54,7 @@
fi
AC_MSG_CHECKING(for debugging)
-AC_ARG_ENABLE(debug, [ --enable-debug=[yes/no] Turn on debugging [default=no]],,enable_debug=no)
+AC_ARG_ENABLE(debug, [ --enable-debug=[yes/no] Turn on debugging [default=yes]],,enable_debug=yes)
OCFS_DEBUG=
if test "x$enable_debug" = "xyes"; then
OCFS_DEBUG=yes
@@ -168,9 +168,6 @@
AC_CONFIG_FILES([
Config.make
-libocfs2/ocfs2_err.et
-libo2cb/o2cb_err.et
-libo2dlm/o2dlm_err.et
debugfs.ocfs2/debugfs.ocfs2.8
mkfs.ocfs2/mkfs.ocfs2.8
fsck.ocfs2/fsck.ocfs2.8
Property changes on: trunk/libo2cb
___________________________________________________________________
Name: svn:ignore
- .*.sw?
*.d
debug_*
o2cb_err.c
o2cb_err.h
o2cb_err.et
cscope*
libo2cb.a
+ .*.sw?
*.d
debug_*
o2cb_err.c
o2cb_err.h
cscope*
libo2cb.a
Modified: trunk/libo2cb/Makefile
===================================================================
--- trunk/libo2cb/Makefile 2005-03-18 07:28:01 UTC (rev 673)
+++ trunk/libo2cb/Makefile 2005-03-18 07:40:57 UTC (rev 674)
@@ -54,9 +54,6 @@
$(OBJS): $(HFILES_GEN)
-o2cb_err.et: o2cb_err.et.in
- cd $(TOPDIR) && ./config.status
-
include/o2cb_err.h: o2cb_err.h
cp $< $@
Copied: trunk/libo2cb/o2cb_err.et (from rev 671, trunk/libo2cb/o2cb_err.et.in)
===================================================================
--- trunk/libo2cb/o2cb_err.et.in 2005-03-18 06:43:00 UTC (rev 671)
+++ trunk/libo2cb/o2cb_err.et 2005-03-18 07:40:57 UTC (rev 674)
@@ -0,0 +1,57 @@
+#
+# o2cb_err.et
+#
+# Error codes for the O2CB library.
+#
+# Copyright (C) 2004 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, version 2, as published by the Free Software Foundation.
+#
+# 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.
+#
+ error_table o2cb
+
+ec O2CB_ET_INVALID_CLUSTER_NAME,
+ "Invalid name for a cluster"
+
+ec O2CB_ET_NO_MEMORY,
+ "Memory allocation failed"
+
+ec O2CB_ET_IO,
+ "I/O error on channel"
+
+ec O2CB_ET_SERVICE_UNAVAILABLE,
+ "Unable to access cluster service"
+
+ec O2CB_ET_INTERNAL_FAILURE,
+ "Internal logic failure"
+
+ec O2CB_ET_PERMISSION_DENIED,
+ "Insufficient permissions to access cluster service"
+
+ec O2CB_ET_CLUSTER_EXISTS,
+ "Cluster already exists"
+
+ec O2CB_ET_NODE_EXISTS,
+ "Node already exists"
+
+ec O2CB_ET_REGION_EXISTS,
+ "Heartbeat region already exists"
+
+ec O2CB_ET_INVALID_BLOCK_SIZE,
+ "Block size is invalid"
+
+ec O2CB_ET_INVALID_BLOCK_COUNT,
+ "Block count is invalid"
+
+ end
Deleted: trunk/libo2cb/o2cb_err.et.in
===================================================================
--- trunk/libo2cb/o2cb_err.et.in 2005-03-18 07:28:01 UTC (rev 673)
+++ trunk/libo2cb/o2cb_err.et.in 2005-03-18 07:40:57 UTC (rev 674)
@@ -1,60 +0,0 @@
-#
-# o2cb_err.et.in
-#
-# Error codes for the O2CB library.
-#
-# Copyright (C) 2004 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, version 2, as published by the Free Software Foundation.
-#
-# 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.
-#
- error_table o2cb
-
-ec O2CB_ET_BASE,
- "O2CB Library version @VERSION@"
-
-ec O2CB_ET_INVALID_CLUSTER_NAME,
- "Invalid name for a cluster"
-
-ec O2CB_ET_NO_MEMORY,
- "Memory allocation failed"
-
-ec O2CB_ET_IO,
- "I/O error on channel"
-
-ec O2CB_ET_SERVICE_UNAVAILABLE,
- "Unable to access cluster service"
-
-ec O2CB_ET_INTERNAL_FAILURE,
- "Internal logic failure"
-
-ec O2CB_ET_PERMISSION_DENIED,
- "Insufficient permissions to access cluster service"
-
-ec O2CB_ET_CLUSTER_EXISTS,
- "Cluster already exists"
-
-ec O2CB_ET_NODE_EXISTS,
- "Node already exists"
-
-ec O2CB_ET_REGION_EXISTS,
- "Heartbeat region already exists"
-
-ec O2CB_ET_INVALID_BLOCK_SIZE,
- "Block size is invalid"
-
-ec O2CB_ET_INVALID_BLOCK_COUNT,
- "Block count is invalid"
-
- end
Property changes on: trunk/libo2dlm
___________________________________________________________________
Name: svn:ignore
- cscope.*
o2dlm_err.et
libo2dlm.a
o2dlm_err.*
*.d
+ cscope.*
libo2dlm.a
o2dlm_err.*
*.d
Modified: trunk/libo2dlm/Makefile
===================================================================
--- trunk/libo2dlm/Makefile 2005-03-18 07:28:01 UTC (rev 673)
+++ trunk/libo2dlm/Makefile 2005-03-18 07:40:57 UTC (rev 674)
@@ -54,9 +54,6 @@
TESTING_OBJS = $(subst .c,.o,$(TESTING_CFILES))
-o2dlm_err.et: o2dlm_err.et.in
- cd $(TOPDIR) && ./config.status
-
include/o2dlm_err.h: o2dlm_err.h
cp $< $@
Copied: trunk/libo2dlm/o2dlm_err.et (from rev 671, trunk/libo2dlm/o2dlm_err.et.in)
===================================================================
--- trunk/libo2dlm/o2dlm_err.et.in 2005-03-18 06:43:00 UTC (rev 671)
+++ trunk/libo2dlm/o2dlm_err.et 2005-03-18 07:40:57 UTC (rev 674)
@@ -0,0 +1,111 @@
+#
+# o2dlm_err.et
+#
+# Error codes for the O2DLM library.
+#
+# 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, version 2, as published by the Free Software Foundation.
+#
+# 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.
+#
+ error_table o2dl
+
+ec O2DLM_ET_NO_MEMORY,
+ "Memory allocation failed"
+
+ec O2DLM_ET_SERVICE_UNAVAILABLE,
+ "Unable to access cluster service"
+
+ec O2DLM_ET_INVALID_LOCK_NAME,
+ "Invalid name for a lock"
+
+ec O2DLM_ET_INVALID_LOCK_LEVEL,
+ "Invalid locking level"
+
+ec O2DLM_ET_INTERNAL_FAILURE,
+ "Internal logic failure"
+
+ec O2DLM_ET_NAME_TOO_LONG,
+ "Name too long"
+
+ec O2DLM_ET_STATFS,
+ "Could not stat user_dlmfs mountpoint"
+
+ec O2DLM_ET_NO_FS_DIR,
+ "Dlmfs path specified is not a directory."
+
+ec O2DLM_ET_NO_FS,
+ "ocfs2_dlmfs file system was not found"
+
+ec O2DLM_ET_OPEN_DLM_DIR,
+ "Could not open dlm directory"
+
+ec O2DLM_ET_NO_DOMAIN_DIR,
+ "No directory for domain was found"
+
+ec O2DLM_ET_BAD_DOMAIN_DIR,
+ "Could not stat domain directory"
+
+ec O2DLM_ET_BUSY_DOMAIN_DIR,
+ "Domain directory has active locks"
+
+ec O2DLM_ET_DOMAIN_DIR,
+ "Could not read domain dir"
+
+ec O2DLM_ET_DOMAIN_DESTROY,
+ "Could not destroy domain"
+
+ec O2DLM_ET_DOMAIN_CREATE,
+ "Could not create domain"
+
+ec O2DLM_ET_RANDOM,
+ "Could not generate random value"
+
+ec O2DLM_ET_BUSY_LOCK,
+ "Lock resource is in use by another process"
+
+ec O2DLM_ET_OUTPUT_ERROR,
+ "Output Error"
+
+ec O2DLM_ET_UNLINK,
+ "Error unlinking lock resource"
+
+ec O2DLM_ET_UNKNOWN_LOCK,
+ "Could not find lock resource"
+
+ec O2DLM_ET_RECURSIVE_LOCK,
+ "Already have a lock on this resource"
+
+ec O2DLM_ET_LOCKING,
+ "Could not take lock"
+
+ec O2DLM_ET_FAILED_UNLOCKS,
+ "Could not drop all locks"
+
+ec O2DLM_ET_INVALID_ARGS,
+ "Invalid arguments passed to function"
+
+ec O2DLM_ET_TRYLOCK_FAILED,
+ "Trylock failed"
+
+ec O2DLM_ET_LVB_READ,
+ "Error reading LVB"
+
+ec O2DLM_ET_LVB_WRITE,
+ "Error writing LVB"
+
+ec O2DLM_ET_SEEK,
+ "Could not seek within file descriptor"
+
+ end
Deleted: trunk/libo2dlm/o2dlm_err.et.in
===================================================================
--- trunk/libo2dlm/o2dlm_err.et.in 2005-03-18 07:28:01 UTC (rev 673)
+++ trunk/libo2dlm/o2dlm_err.et.in 2005-03-18 07:40:57 UTC (rev 674)
@@ -1,114 +0,0 @@
-#
-# o2dlm_err.et.in
-#
-# Error codes for the O2DLM library.
-#
-# 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, version 2, as published by the Free Software Foundation.
-#
-# 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.
-#
- error_table o2dl
-
-ec O2DLM_ET_BASE,
- "O2DLM Library version @VERSION@"
-
-ec O2DLM_ET_NO_MEMORY,
- "Memory allocation failed"
-
-ec O2DLM_ET_SERVICE_UNAVAILABLE,
- "Unable to access cluster service"
-
-ec O2DLM_ET_INVALID_LOCK_NAME,
- "Invalid name for a lock"
-
-ec O2DLM_ET_INVALID_LOCK_LEVEL,
- "Invalid locking level"
-
-ec O2DLM_ET_INTERNAL_FAILURE,
- "Internal logic failure"
-
-ec O2DLM_ET_NAME_TOO_LONG,
- "Name too long"
-
-ec O2DLM_ET_STATFS,
- "Could not stat user_dlmfs mountpoint"
-
-ec O2DLM_ET_NO_FS_DIR,
- "Dlmfs path specified is not a directory."
-
-ec O2DLM_ET_NO_FS,
- "ocfs2_dlmfs file system was not found"
-
-ec O2DLM_ET_OPEN_DLM_DIR,
- "Could not open dlm directory"
-
-ec O2DLM_ET_NO_DOMAIN_DIR,
- "No directory for domain was found"
-
-ec O2DLM_ET_BAD_DOMAIN_DIR,
- "Could not stat domain directory"
-
-ec O2DLM_ET_BUSY_DOMAIN_DIR,
- "Domain directory has active locks"
-
-ec O2DLM_ET_DOMAIN_DIR,
- "Could not read domain dir"
-
-ec O2DLM_ET_DOMAIN_DESTROY,
- "Could not destroy domain"
-
-ec O2DLM_ET_DOMAIN_CREATE,
- "Could not create domain"
-
-ec O2DLM_ET_RANDOM,
- "Could not generate random value"
-
-ec O2DLM_ET_BUSY_LOCK,
- "Lock resource is in use by another process"
-
-ec O2DLM_ET_OUTPUT_ERROR,
- "Output Error"
-
-ec O2DLM_ET_UNLINK,
- "Error unlinking lock resource"
-
-ec O2DLM_ET_UNKNOWN_LOCK,
- "Could not find lock resource"
-
-ec O2DLM_ET_RECURSIVE_LOCK,
- "Already have a lock on this resource"
-
-ec O2DLM_ET_LOCKING,
- "Could not take lock"
-
-ec O2DLM_ET_FAILED_UNLOCKS,
- "Could not drop all locks"
-
-ec O2DLM_ET_INVALID_ARGS,
- "Invalid arguments passed to function"
-
-ec O2DLM_ET_TRYLOCK_FAILED,
- "Trylock failed"
-
-ec O2DLM_ET_LVB_READ,
- "Error reading LVB"
-
-ec O2DLM_ET_LVB_WRITE,
- "Error writing LVB"
-
-ec O2DLM_ET_SEEK,
- "Could not seek within file descriptor"
-
- end
Property changes on: trunk/libocfs2
___________________________________________________________________
Name: svn:ignore
- cscope*
stamp-md5
.*.sw?
.*.cmd
ocfs2_err.c
ocfs2_err.h
libocfs2.a
ocfs2_err.et
debug_*
*.d
+ cscope*
stamp-md5
.*.sw?
.*.cmd
ocfs2_err.c
ocfs2_err.h
libocfs2.a
debug_*
*.d
Modified: trunk/libocfs2/Makefile
===================================================================
--- trunk/libocfs2/Makefile 2005-03-18 07:28:01 UTC (rev 673)
+++ trunk/libocfs2/Makefile 2005-03-18 07:40:57 UTC (rev 674)
@@ -97,9 +97,6 @@
$(OBJS): $(HFILES_GEN)
-ocfs2_err.et: ocfs2_err.et.in
- cd $(TOPDIR) && ./config.status
-
include/ocfs2_err.h: ocfs2_err.h
cp $< $@
Copied: trunk/libocfs2/ocfs2_err.et (from rev 671, trunk/libocfs2/ocfs2_err.et.in)
===================================================================
--- trunk/libocfs2/ocfs2_err.et.in 2005-03-18 06:43:00 UTC (rev 671)
+++ trunk/libocfs2/ocfs2_err.et 2005-03-18 07:40:57 UTC (rev 674)
@@ -0,0 +1,150 @@
+#
+# ocfs2_err.et
+#
+# Error codes for the OCFS2 userspace library.
+#
+# Copyright (C) 2004 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, version 2, as published by the Free Software Foundation.
+#
+# 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.
+#
+ error_table ocfs
+
+ec OCFS2_ET_NAMED_DEVICE_NOT_FOUND,
+ "Device name specified was not found"
+
+ec OCFS2_ET_BAD_DEVICE_NAME,
+ "Illegal or malformed device name"
+
+ec OCFS2_ET_IO,
+ "I/O error on channel"
+
+ec OCFS2_ET_SHORT_READ,
+ "Attempt to read block from filesystem resulted in short read"
+
+ec OCFS2_ET_SHORT_WRITE,
+ "Attempt to read block from filesystem resulted in short write"
+
+ec OCFS2_ET_NO_MEMORY,
+ "Memory allocation failed"
+
+ec OCFS2_ET_INVALID_ARGUMENT,
+ "Invalid argument passed to OCFS2 library"
+
+ec OCFS2_ET_OCFS_REV,
+ "Device contains an OCFS volume"
+
+ec OCFS2_ET_BAD_MAGIC,
+ "Bad magic number in superblock"
+
+ec OCFS2_ET_UNEXPECTED_BLOCK_SIZE,
+ "Filesystem has unexpected block size"
+
+ec OCFS2_ET_CORRUPT_SUPERBLOCK,
+ "The OCFS2 superblock is corrupt"
+
+ec OCFS2_ET_UNSUPP_FEATURE,
+ "Filesystem has unsupported feature(s)"
+
+ec OCFS2_ET_RO_UNSUPP_FEATURE,
+ "Filesystem has unsupported read-only feature(s)"
+
+ec OCFS2_ET_BAD_INODE_MAGIC,
+ "Bad magic number in inode"
+
+ec OCFS2_ET_BAD_BLKNO,
+ "Invalid block number"
+
+ec OCFS2_ET_RO_FILESYS,
+ "Attempt to write to filesystem opened read-only"
+
+ec OCFS2_ET_JOURNAL_TOO_SMALL,
+ "Journal must be at least 1024 blocks"
+
+ec OCFS2_ET_BAD_JOURNAL_SUPERBLOCK_MAGIC,
+ "Bad magic number in journal superblock"
+
+ec OCFS2_ET_BAD_JOURNAL_REVOKE,
+ "Invalid revoke record in journal"
+
+ec OCFS2_ET_BAD_JOURNAL_TAG,
+ "Invalid block tag in journal"
+
+ec OCFS2_ET_INODE_NOT_VALID,
+ "Inode is not valid (active)"
+
+ec OCFS2_ET_INODE_CANNOT_BE_ITERATED,
+ "Inode type does not contain extents"
+
+ec OCFS2_ET_BAD_EXTENT_BLOCK_MAGIC,
+ "Bad magic number in extent block"
+
+ec OCFS2_ET_CORRUPT_EXTENT_BLOCK,
+ "Extent block is corrupt"
+
+ec OCFS2_ET_DIR_CORRUPTED,
+ "OCFS2 directory corrupted"
+
+ec OCFS2_ET_NO_DIRECTORY,
+ "OCFS2 inode is not a directory"
+
+ec OCFS2_ET_FILE_NOT_FOUND,
+ "File not found by ocfs2_lookup"
+
+ec OCFS2_ET_DIR_NO_SPACE,
+ "No free space in the directory"
+
+ec OCFS2_ET_INVALID_BIT,
+ "Bit does not exist in bitmap range"
+
+ec OCFS2_ET_INTERNAL_FAILURE,
+ "Internal logic faliure"
+
+ec OCFS2_ET_BAD_GROUP_DESC_MAGIC,
+ "Bad magic number in group descriptor"
+
+ec OCFS2_ET_CORRUPT_GROUP_DESC,
+ "Group descriptor is corrupt"
+
+ec OCFS2_ET_CORRUPT_CHAIN,
+ "Chain allocator is corrupt"
+
+ec OCFS2_ET_INVALID_EXTENT_LOOKUP,
+ "Invalid range passed to extent map lookup"
+
+ec OCFS2_ET_EXTENT_NOT_FOUND,
+ "No mapping exists for the given extent range"
+
+ec OCFS2_ET_DUPLICATE_BLOCK,
+ "Duplicate block discovered"
+
+ec OCFS2_ET_BIT_NOT_FOUND,
+ "Unable to find available bit"
+
+ec OCFS2_ET_FREEING_UNALLOCATED_REGION,
+ "Attempting to free unallocated region"
+
+ec OCFS2_ET_EXPAND_DIR_ERR,
+ "Unable to expand directory"
+
+ec OCFS2_ET_NO_SPACE,
+ "No space available"
+
+ec OCFS2_ET_ITERATION_COMPLETE,
+ "Iteration complete"
+
+ec OCFS2_ET_SYMLINK_LOOP,
+ "Too many symbolic links encountered"
+
+ end
Deleted: trunk/libocfs2/ocfs2_err.et.in
===================================================================
--- trunk/libocfs2/ocfs2_err.et.in 2005-03-18 07:28:01 UTC (rev 673)
+++ trunk/libocfs2/ocfs2_err.et.in 2005-03-18 07:40:57 UTC (rev 674)
@@ -1,153 +0,0 @@
-#
-# ocfs2_err.et.in
-#
-# Error codes for the OCFS2 userspace library.
-#
-# Copyright (C) 2004 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, version 2, as published by the Free Software Foundation.
-#
-# 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.
-#
- error_table ocfs
-
-ec OCFS2_ET_BASE,
- "OCFS2 Library version @VERSION@"
-
-ec OCFS2_ET_NAMED_DEVICE_NOT_FOUND,
- "Device name specified was not found"
-
-ec OCFS2_ET_BAD_DEVICE_NAME,
- "Illegal or malformed device name"
-
-ec OCFS2_ET_IO,
- "I/O error on channel"
-
-ec OCFS2_ET_SHORT_READ,
- "Attempt to read block from filesystem resulted in short read"
-
-ec OCFS2_ET_SHORT_WRITE,
- "Attempt to read block from filesystem resulted in short write"
-
-ec OCFS2_ET_NO_MEMORY,
- "Memory allocation failed"
-
-ec OCFS2_ET_INVALID_ARGUMENT,
- "Invalid argument passed to OCFS2 library"
-
-ec OCFS2_ET_OCFS_REV,
- "Device contains an OCFS volume"
-
-ec OCFS2_ET_BAD_MAGIC,
- "Bad magic number in superblock"
-
-ec OCFS2_ET_UNEXPECTED_BLOCK_SIZE,
- "Filesystem has unexpected block size"
-
-ec OCFS2_ET_CORRUPT_SUPERBLOCK,
- "The OCFS2 superblock is corrupt"
-
-ec OCFS2_ET_UNSUPP_FEATURE,
- "Filesystem has unsupported feature(s)"
-
-ec OCFS2_ET_RO_UNSUPP_FEATURE,
- "Filesystem has unsupported read-only feature(s)"
-
-ec OCFS2_ET_BAD_INODE_MAGIC,
- "Bad magic number in inode"
-
-ec OCFS2_ET_BAD_BLKNO,
- "Invalid block number"
-
-ec OCFS2_ET_RO_FILESYS,
- "Attempt to write to filesystem opened read-only"
-
-ec OCFS2_ET_JOURNAL_TOO_SMALL,
- "Journal must be at least 1024 blocks"
-
-ec OCFS2_ET_BAD_JOURNAL_SUPERBLOCK_MAGIC,
- "Bad magic number in journal superblock"
-
-ec OCFS2_ET_BAD_JOURNAL_REVOKE,
- "Invalid revoke record in journal"
-
-ec OCFS2_ET_BAD_JOURNAL_TAG,
- "Invalid block tag in journal"
-
-ec OCFS2_ET_INODE_NOT_VALID,
- "Inode is not valid (active)"
-
-ec OCFS2_ET_INODE_CANNOT_BE_ITERATED,
- "Inode type does not contain extents"
-
-ec OCFS2_ET_BAD_EXTENT_BLOCK_MAGIC,
- "Bad magic number in extent block"
-
-ec OCFS2_ET_CORRUPT_EXTENT_BLOCK,
- "Extent block is corrupt"
-
-ec OCFS2_ET_DIR_CORRUPTED,
- "OCFS2 directory corrupted"
-
-ec OCFS2_ET_NO_DIRECTORY,
- "OCFS2 inode is not a directory"
-
-ec OCFS2_ET_FILE_NOT_FOUND,
- "File not found by ocfs2_lookup"
-
-ec OCFS2_ET_DIR_NO_SPACE,
- "No free space in the directory"
-
-ec OCFS2_ET_INVALID_BIT,
- "Bit does not exist in bitmap range"
-
-ec OCFS2_ET_INTERNAL_FAILURE,
- "Internal logic faliure"
-
-ec OCFS2_ET_BAD_GROUP_DESC_MAGIC,
- "Bad magic number in group descriptor"
-
-ec OCFS2_ET_CORRUPT_GROUP_DESC,
- "Group descriptor is corrupt"
-
-ec OCFS2_ET_CORRUPT_CHAIN,
- "Chain allocator is corrupt"
-
-ec OCFS2_ET_INVALID_EXTENT_LOOKUP,
- "Invalid range passed to extent map lookup"
-
-ec OCFS2_ET_EXTENT_NOT_FOUND,
- "No mapping exists for the given extent range"
-
-ec OCFS2_ET_DUPLICATE_BLOCK,
- "Duplicate block discovered"
-
-ec OCFS2_ET_BIT_NOT_FOUND,
- "Unable to find available bit"
-
-ec OCFS2_ET_FREEING_UNALLOCATED_REGION,
- "Attempting to free unallocated region"
-
-ec OCFS2_ET_EXPAND_DIR_ERR,
- "Unable to expand directory"
-
-ec OCFS2_ET_NO_SPACE,
- "No space available"
-
-ec OCFS2_ET_ITERATION_COMPLETE,
- "Iteration complete"
-
-ec OCFS2_ET_SYMLINK_LOOP,
- "Too many symbolic links encountered"
-
- end
More information about the Ocfs2-tools-commits
mailing list