summaryrefslogtreecommitdiff
path: root/ext4_utils/ext4fixup.h
diff options
context:
space:
mode:
authorKen Sumrall <ksumrall@android.com>2011-06-09 21:24:42 -0700
committerKen Sumrall <ksumrall@android.com>2011-06-17 14:38:31 -0700
commit671cd2188e2f224aaeac4955785199f228235719 (patch)
tree5152db419209867848863751fae9aec6d18c843c /ext4_utils/ext4fixup.h
parenta0b154fab1f1dd3fd11c63de18d375412cdfd1c7 (diff)
downloadextras-671cd2188e2f224aaeac4955785199f228235719.tar.gz
ext4fixup tool to fix wonky filesystems made by old version of make_ext4fs
The filesystems made by make_ext4fs for the Gingerbread and initial Honeycomb releases did not round up the number of inodes/block_group to use all the space available. This worked, but newer kernels have additional code that refuses to write to these filesystems. There is a kernel patch available to fix the problem in the kernel, but this tool was also written to fixup the filesystems to be compliant with the new kernels. Change-Id: I317b02ee2132ce6a0daeb4d1b40ad5ef57a0fb32
Diffstat (limited to 'ext4_utils/ext4fixup.h')
-rw-r--r--ext4_utils/ext4fixup.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/ext4_utils/ext4fixup.h b/ext4_utils/ext4fixup.h
new file mode 100644
index 00000000..94395e7b
--- /dev/null
+++ b/ext4_utils/ext4fixup.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2010 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+int ext4fixup(char *fsdev);
+int ext4fixup_internal(char *fsdev, int v_flag, int n_flag);
+