e0ed7404719a9ddd2ba427a80db5365c8bad18c0 |
|
20-Mar-2014 |
JP Abgrall <jpa@google.com> |
Switch back to 1.42.9 now that there is a fix Revert "Revert changes that moved from 1.41.14 to 1.42.9" This reverts commit 65f0aab98b20b5994a726ab90d355248bcddfffd.
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
65f0aab98b20b5994a726ab90d355248bcddfffd |
|
06-Mar-2014 |
JP Abgrall <jpa@google.com> |
Revert changes that moved from 1.41.14 to 1.42.9 Revert "e2fsck: Don't use e2fsck_global_ctx unless HAVE_SIGNAL_H" commit e80e74c41d85ff93f3d212ba6512340f48054a93. Revert "Merge remote-tracking branch 'linaro/linaro-1.42.9' into aosp_master" This reverts commit e97b2b6fc82f840e84dfc631b87f21be44ff2421, reversing changes made to 7e2fb9d09c245eba70ee008b78007315e9c0f1df. Revert "Prepare for upstream 1.42.9" This reverts commit 7e2fb9d09c245eba70ee008b78007315e9c0f1df. Bug: 13340735 Change-Id: If48b153a95ef5f69f7cdccb00e23524abff3c5a8 Signed-off-by: JP Abgrall <jpa@google.com>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
18a1444b4f1e6a0948fd38fa0de382d86cfe04de |
|
31-Dec-2013 |
Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> |
Add files that would normally be generated by the e2fsprogs build system Android doesn't run ./configure and friends, so it has to rely on pre-populated versions of the autogenerated files. This is somewhat bogus (e.g. hardcoded little-endian reference in lib/ext2fs/ext2_types.h) and should at some point be fixed, but it's what Android has always done, not a regression from the 1.41.14 branch. Also, don't #include config.h which we don't generate (we pass what it usually contains as -D parameters from Android.mk) anywhere. Add a new Android.mk file for the quota library. Change-Id: I162c6327fee5bd06261d9cdcc34bda10f04a6f21 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
2bc30417541deffca795db8ec4e7f7ccb616dc3f |
|
23-Dec-2013 |
Andreas Dilger <adilger@dilger.ca> |
debugfs, e2fsck: fix s_desc_size handling The s_desc_size in the superblock specifies the group descriptor size in bytes, but in various places the EXT4_FEATURE_INCOMPAT_64BIT flag implies that the descriptor size is EXT2_MIN_DESC_SIZE_64BIT (64 bytes) instead of checking the actual size. In other places, the s_desc_size field is used without checking for INCOMPAT_64BIT. In the case of ext2fs_group_desc() the s_desc_size was being ignored, and assumed to be sizeof(struct ext4_group_desc), which would result in garbage for any but the first group descriptor. Similarly, in ext2fs_group_desc_csum() and print_csum() they assumed that the maximum group descriptor size was sizeof(struct ext4_group_desc). Fix these functions to use the actual superblock s_desc_size if INCOMPAT_64BIT. Conversely, in ext2fs_swap_group_desc2() s_desc_size was used without checking for INCOMPAT_64BIT being set. The e2fsprogs behaviour is different than that of the kernel, which always checks INCOMPAT_64BIT, and only uses s_desc_size to determine the offset of group descriptors and what range of bytes to checksum. Allow specifying the s_desc_size field at mke2fs time with the "-E desc_size=NNN" option. Allow a power-of-two s_desc_size value up to s_blocksize if INCOMPAT_64BIT is specified. This is not expected to be used by regular users at this time, so it is not currently documented in the mke2fs usage or man page. Add m_desc_size_128, f_desc_size_128, and f_desc_bad test cases to verify mke2fs and e2fsck handling of larger group descriptor sizes. Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
a7a63675af85b4b636e9df4961ca44ea03bf160b |
|
30-Sep-2011 |
Darrick J. Wong <djwong@us.ibm.com> |
libext2fs: Fix various bugs from the metadata checksum integration Fix several minor errors in structure definitions, the byteswap code, and Makefiles that result from merging the crc32c and initial parts of the metadata checksumming patchset. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
0f5eba7501f467f757792ee449d16c9259b994fd |
|
24-Sep-2011 |
Andreas Dilger <adilger@whamcloud.com> |
ext2fs: add multi-mount protection (INCOMPAT_MMP) Multi-mount protection is feature that allows mke2fs, e2fsck, and others to detect if the filesystem is mounted on a remote node (on SAN disks) and avoid corrupting the filesystem. For e2fsprogs this means that it checks the MMP block to see if the filesystem is in use, and marks the filesystem busy while e2fsck is running on the system. This is useful on SAN disks that are shared between high-availability servers, or accessible by multiple nodes that aren't in HA pairs. MMP isn't intended to serve as a primary HA exclusion mechanism, but as a failsafe to protect against user, software, or hardware errors. There is no requirement that e2fsck updates the MMP block at regular intervals, but e2fsck does this occasionally to provide useful information to the sysadmin in case of a detected conflict. For the kernel (since Linux 3.0) MMP adds a "heartbeat" mechanism to periodically write to disk (every few seconds by default) to notify other nodes that the filesystem is still in use and unsafe to modify. Originally-by: Kalpak Shah <kalpak@clusterfs.com> Signed-off-by: Johann Lombardi <johann@whamcloud.com> Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
d1154eb460efe588eaed3d439c1caaca149fa362 |
|
18-Sep-2011 |
Theodore Ts'o <tytso@mit.edu> |
Shorten compile commands run by the build system The DEFS line in MCONFIG had gotten so long that it exceeded 4k, and this was starting to cause some tools heartburn. It also made "make V=1" almost useless, since trying to following the individual commands run by make was lost in the noise of all of the defines. So fix this by putting the configure-generated defines in lib/config.h and the directory pathnames to lib/dirpaths.h. In addition, clean up some vestigal defines in configure.in and in the Makefiles to further shorten the cc command lines. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
ae96c678e15eda2a5d0eea7e1067b449f6604aff |
|
16-Sep-2011 |
Theodore Ts'o <tytso@mit.edu> |
libext2s: fix swapfs.c so it builds on big endian systems Also cleaned up ext2_fs.h, and improved the byte swapping code so the extra fields in the large inode are properly byte swapped. Addresses-Debian-Bug: #641838 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
89efc88e65136ece22708cc28ec4124a33feeecd |
|
15-Sep-2011 |
Theodore Ts'o <tytso@mit.edu> |
libext2fs: add metadata checksum and snapshot feature flags Reserve EXT4_FEATURE_RO_COMPAT_METADATA_CSUM and EXT2_FEATURE_COMPAT_EXCLUDE_BITMAP. Also reserve fields in the superblock and the inode for the checksums. In the block group descriptor, reserve the exclude bitmap field for the snapshot feature, and checksums for the inode and block allocation bitmaps. With this commit, the metadata checksum and exclude bitmap features should have reserved all of the fields they need in ext4's on-disk format. This commit also fixes an a missing byte swap for s_overhead_blocks. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: Darrick J. Wong <djwong@us.ibm.com> Cc: Amir Goldstein <amir73il@gmail.com>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
931b58e1cb2158c1f5218059cce92e94917ef485 |
|
11-Jun-2011 |
Andreas Dilger <adilger@whamcloud.com> |
ext2fs: Handle internal journal over 2^32 bytes The write_journal_inode() code is only setting the low 32-bit i_size for the journal size, even though it is possible to specify a journal up to 10M blocks in size. Trying to create a journal larger than 2GB will succeed, but an immediate e2fsck would fail. Store i_size_high for the journal inode when creating it, and load it upon access. Use s_jnl_blocks[15] to store the journal i_size_high backup. This field is currently unused, as EXT2_N_BLOCKS is 15, so it is using s_jnl_blocks[0..14], and i_size is in s_jnl_blocks[16]. Rename the "size" argument "num_blocks" for the journal creation functions to clarify this parameter is in units of filesystem blocks and not bytes. Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
829d9994880394e48c883510799b1536812d6efb |
|
28-Feb-2011 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: lib/ext2fs/initialize.c
|
412376efff3c0e0c2fea00666c2457e6f2ae1878 |
|
26-Feb-2011 |
Theodore Ts'o <tytso@mit.edu> |
Add basic BIGALLOC support for cluster-based allocation This adds the superblock fields needed so that dumpe2fs works and the code points and renames the superblock fields from describing fragments to clusters. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
0edcc2702106ef8ea0d4ab60ef06c0c38b0b87ee |
|
15-Feb-2011 |
Aditya Kali <adityakali@google.com> |
e2fsprogs: reserving code points for new ext4 quota feature This patch adds support for detecting the new 'quota' feature in ext4. The patch reserves code points for usr and group quota inodes and also for the feature flag EXT4_FEATURE_RO_COMPAT_QUOTA. Signed-off-by: Aditya Kali <adityakali@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
9098c986b64bb65a2b7fcd2724a400ba1f451f6b |
|
17-Dec-2010 |
Theodore Ts'o <tytso@mit.edu> |
libext2fs: Fix compile bug on big-endian architectures Addresses-Sourceforge-Bug: #3138115 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
ccc7cf032852dd5c84b227bafb481b1d158e2b5e |
|
31-Jul-2010 |
Theodore Ts'o <tytso@mit.edu> |
libext2fs: fix obvious big-endian bugs introduced by 64-bit changes These patches fix obvious bone-headed mistakes, so e2fsprogs will now build and mostly work on powerpc. The m_meta_bg, u_mke2fs, and u_tune2fs tests are still failing, however, so there's still work to do... Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
db0bdb49f49fc3dd14c12439d934a3403a3be9f1 |
|
19-Jul-2010 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: resize/extent.c
|
f5448c19acda0bae0673d17e97b8a0590c99c944 |
|
25-Jun-2010 |
Theodore Ts'o <tytso@mit.edu> |
Add support for Next3 snapshot superblock fields to dumpe2fs and debugfs We also support for byte-swapping the Next3 fields, although the current Next3 implementation doesn't support big-endian systems. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
97d26ce9e3589e9f5fa17014467a9730a884d158 |
|
07-Jun-2010 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: e2fsck/journal.c e2fsck/pass1.c e2fsck/pass2.c misc/mke2fs.c
|
543547a52a20cb7e69d74921b2f691078fd55d83 |
|
18-May-2010 |
Theodore Ts'o <tytso@mit.edu> |
libe2p, libext2fs: Update file copyright permission states to match COPYING The top-level COPYING file states that the e2p and ext2fs libraries are available under the LGPLv2. The files were incorrectly labelled. Alex Thomas/Luster has been consulted wrt to the ext3_extents.h file; the rest of the files were primarily authored by Theodore Ts'o. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
4486af5b4c1b117ac88a92cd2336cb41c15107d3 |
|
16-Nov-2009 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: misc/mke2fs.c
|
6eb229dc5d212ac5897ff626b839318f4e0c57ca |
|
10-Nov-2009 |
Eric Sandeen <sandeen@redhat.com> |
libext2fs: don't swap extent-based journal backup The f_illitable_flexbg test was failing on ppc, because e2fsck_move_ext3_journal is doing a direct memcmp of i_block with s_jnl_blocks, and failing. This is because we don't swap extent data on read from disk; rather we do it when we access the extents. However, ext2fs_swap_super was swapping s_jnl_blocks unconditionally, so these didn't match. Looks like we need to treat s_jnl_blocks the same as i_block, and swap it on access, not on read. Except for the last i_size bit... Reviewed-by: Andreas Dilger <adilger@sun.com> Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
cf828f1a72ec1eb0c1e819307137879447c909b7 |
|
26-Oct-2009 |
Theodore Ts'o <tytso@mit.edu> |
libext2fs: Byte-swap 64-bit block group descriptors Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
b7c5b4030870b31d73019d9d9ec55d550772590b |
|
06-Mar-2009 |
Theodore Ts'o <tytso@mit.edu> |
Add support for a new superblock field: s_kbytes_written This field tracks the lifetime amount of writes to the filesystem. It will be updated by the kernel as well as by e2fsprogs programs which write to the filesystem. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
efc6f628e15de95bcd13e4f0ee223cb42115d520 |
|
28-Aug-2008 |
Theodore Ts'o <tytso@mit.edu> |
Remove trailing whitespace for the entire source tree Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
2ea504bd64dc391530c0eb33904afa27f4156c0e |
|
04-Jun-2008 |
Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> |
libext2fs: Fix build failure on powerpc in ext2fs_swap_inode_full() Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
fb6627a3fb4fbcb6904716c7a59e5ef9eb5dfafb |
|
24-Mar-2008 |
Eric Sandeen <sandeen@redhat.com> |
libext2fs: Fix byte-swap logic for i_block[] in inodes with extents ext2fs_swap_inode_full() was incorrectly swapping the i_block array for extents. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
6567e5a684610832962a951a50712574eff59808 |
|
15-Mar-2008 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint'
|
82e541885ea912bc6764b97e2545f851cf7e3ff3 |
|
29-Feb-2008 |
Eric Sandeen <sandeen@redhat.com> |
Fix ext2fs_swap_inode_full() for in-inode xattrs on big-endian machines After the fix for resize2fs's inode mover losing in-inode extended attributes, the regression test I wrote caught that the attrs were still getting lost on powerpc. Looks like the problem is that ext2fs_swap_inode_full() isn't paying attention to whether or not the EA magic is in hostorder, so it's not recognized (and not swapped) on BE machines. Patch below seems to fix it. Yay for regression tests. ;) Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
fefaef39e046781ddc75d15a8f12369f17dbd17d |
|
02-Feb-2008 |
Andreas Dilger <adilger@sun.com> |
Improve support for in-inode EA's Add vertificaton of the in-inode EA information, and allow in-inode EA's to have a checksum. Signed-off-by: Andreas Dilger <adilger@clusterfs.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
4ce3b77480496a20cf380bd18a8ae4a414b7d4a0 |
|
01-Sep-2007 |
Theodore Ts'o <tytso@mit.edu> |
Don't byte swap extents information in the inode Responsibility for byte swapping the extents information rests with the low-level extent code, which translates the on-disk extents information to the abstract extent format. The on-disk format will eventually get more complicated, in order to add support for 64-bit block numbers, bit-compressed extents, etc. So to avoid needing to expose all of that complexity in swapfs.c, the in-memory contents of i_blocks will not be byte-swapped and will be identical to the on-disk format. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
c9548bc37e5d0f55308ebbb74b1e19ce7f88ada1 |
|
23-Aug-2007 |
Coly Li <coyli@suse.de> |
libext2fs: remove masix support This patch remove masix support from lib/ext2fs. Signed-off-by: Coly Li <coyli@suse.de>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
a5dda0542283d0674f42a0d1b04d33888f512eab |
|
11-Aug-2007 |
Theodore Ts'o <tytso@mit.edu> |
Remove configure --enable-swapfs and associated support #defines This removes the last vestiges of support for the legacy PowerPC big-endian filesystem format. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
db9097caca17401313c0dc840b4ae683e5b5c1df |
|
18-Jul-2007 |
Eric Sandeen <sandeen@redhat.com> |
Fix big-endian byte-swapping bug in ext2fs_swap_inode_full() We need to set t->i_file_acl before we test it in ext2fs_inode_data_blocks() Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
c844010cc41e4c293b652d252145df12448e22c6 |
|
23-Jun-2007 |
Theodore Ts'o <tytso@mit.edu> |
Fix byte-swapping issues for the i_extra_size field Thanks to Andreas Dilger and Kalpak Shah for spotting this problem. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
d362a3fb7ec1a2b46601f55f4dbae83563c27717 |
|
19-Apr-2007 |
Theodore Ts'o <tytso@mit.edu> |
Define the l_i_iversion field in ext2_inode The l_i_version field is now defined from the old l_i_reserved1 field in the ext2 inode. This field will be used to store high 32 bits of the 64-bit inode version number. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
3f4c46e3f9871011a3d4dffbf7a0beb35bd27d08 |
|
14-Apr-2007 |
Bryn M. Reeves <breeves@redhat.com> |
Correct byteswapping for fast symlinks with xattrs Fix a problem byte-swapping fast symlinks inodes that contain extended attributes. Addresses Red Hat Bugzilla: #232663 Addresses LTC Bugzilla: #27634 Signed-off-by: "Bryn M. Reeves" <breeves@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
f77704e416fca7dbe4cc91abba674d2ae3c14f6f |
|
12-Nov-2006 |
Theodore Ts'o <tytso@mit.edu> |
Add directory hashed signed/unsigned hint to superblock The e2fsprogs and kernel implementation of directory hash tree has a bug which causes the implementation to be dependent on whether characters are signed or unsigned. Platforms such as the PowerPC, Arm, and S/390 have signed characters by default, which means that hash directories on those systems are incompatible with hash directories on other systems, such as the x86. To fix this we add a new flags field to the superblock, and define two new bits in that field to indicate whether or not the directory should be signed or unsigned. If the bits are not set, e2fsck and fixed kernels will set them to the signed/unsigned value of the currently running platform, and then respect those bits when calculating the directory hash. This allows compatibility with current filesystems, as well as allowing cross-architectural compatibility. Addresses Debian Bug: #389772 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
6b3ce9871c3424d0b41e0c7227ddc116d2e0de1a |
|
11-Nov-2006 |
Theodore Ts'o <tytso@mit.edu> |
On-disk format for controlling the inode size - EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE (0x0040?) - add s_min_extra_isize and s_want_extra_isize fields to superblock, which allow specifying the minimum and desired i_extra_isize fields in large inodes (for nsec+epoch timestamps, potential other uses). Needs RO_COMPAT flag handling, needs e2fsck support, patch complete, little testing. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
8061d2c144bf22ce3e170e40a194932da4baf8fb |
|
11-Nov-2006 |
Theodore Ts'o <tytso@mit.edu> |
On-disk format definition for 64-bit support - EXT4_FEATURE_INCOMPAT_64BIT (0x0080) - support for 64-bit block count fields in the superblock (s_blocks_count_hi, s_free_blocks_count_hi), large group descriptors (s_desc_size), extents with high 16 bits (ee_start_hi, ei_leaf_hi), inode ACL (i_file_acl_hi). May also grow to encompass the previously proposed BIG_BG. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
8815fb8a00f5a441eb62f035353db9e0cca90b38 |
|
11-Nov-2006 |
Theodore Ts'o <tytso@mit.edu> |
On-disk format definition for group descriptor checksums - EXT4_FEATURE_RO_COMPAT_GDT_CSUM (0x0010?) - store a crc16 checksum in the group descriptor (s_uuid[16] | __u32 group | ext3_group_desc (excluding gd_checksum itself)). This allows the kernel to more safely manage UNINIT groups. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
5d17119d14fe1276936c85d7986695a4543b1aa1 |
|
11-Nov-2006 |
Theodore Ts'o <tytso@mit.edu> |
On-disk format definition for huge files - EXT4_FEATURE_RO_COMPAT_HUGE_FILE (0x0008) - change i_blocks to be in units of s_blocksize units instead of 512-byte sectors, use l_i_frag and l_i_fsize as i_blocks_hi (could also be part of 64BIT). E2fsck and debugfs changed to support i_blocks_hi instead of l_i_frag and l_i_fsize. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
f5fa20078bfc05b554294fe9c5505375d7913e8c |
|
09-May-2006 |
Theodore Ts'o <tytso@mit.edu> |
Add support for EXT2_FEATURE_COMPAT_LAZY_BG This feature is initially intended for testing purposes; it allows an ext2/ext3 developer to create very large filesystems using sparse files where most of the block groups are not initialized and so do not require much disk space. Eventually it could be used as a way of speeding up mke2fs and e2fsck for large filesystem, but that would be best done by adding an RO_COMPAT extension to the filesystem to allow the inode table to be lazily initialized on a per-block basis, instead of being entirely initialized or entirely unused on a per-blockgroup basis. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
7331196a16e57ef80dd6ae40eeeab14747ce2f5d |
|
26-Jan-2005 |
Theodore Ts'o <tytso@mit.edu> |
Add library support for large (EA in inode) inodes. Make sure that garbage doesn't get written into the reserved portion when writing into filesystems that have large inodes defined.
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
5d28e3be679b515fb4a2e9ce1716f2452381b308 |
|
23-Dec-2004 |
Theodore Ts'o <tytso@mit.edu> |
swapfs.c (ext2fs_swap_super): Byteswap the reserved_gdt_blocks superblocks field.
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
1ba7a2f2b6a9b152828a06443955a7fb1d139930 |
|
30-Jan-2004 |
Theodore Ts'o <tytso@mit.edu> |
Fix a byte swap bugs, including one which caused e2fsck to incorrectly treat as valid symlinks created with SE Linux (Debian bug #228723) as well as failing the f_journal test case on big endian systems due to the backup journal blocks not being swapped.
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
c046ac7f2e4c53e20cf1e909bbe511f91074b396 |
|
20-Oct-2002 |
Theodore Ts'o <tytso@mit.edu> |
Add support for the meta_blockgroup filesystem format.
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
8132d840c8f6b0d90ab5048d6f8529f74e1aa0b3 |
|
03-Oct-2002 |
Theodore Ts'o <tytso@mit.edu> |
Fix endian problems in the htree code for e2fsck and debugfs. When byte-swapping a filesystem on a PPC architecture, byte-swap the bitmaps since the historical big-endian ext2 variant had byte-swapped bitmaps, and the ext2fs library assumes this. Otherwise the regression test suite will fail...
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
5df55d7f847e29d23227592a0bb23daad1a61500 |
|
11-Jun-2001 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, Makefile.in, swapfs.c, unix.c: Makefile.in: Add message.c and swapfs.c to the list of source files to build the make depend. swapfs.c, unix.c: Only support the -s and -S options to e2fsck if ENABLE_SWAPFS is defined. Many files: ext2fs.h, bitops.h, block.c, bmap.c, closefs.c, dirblock.c, inode.c, native.c, openfs.c, rw_bitmaps.c, swapfs.c: Only include the byte-swapping logic if ENABLE_SWAPFS is turned on or if we're on a big-endian machine. initialize.c (ext2fs_initialize):Use WORDS_BIGENDIAN directly to set EXT2_FLAG_SWAP_BYTES, instead of using ext2fs_native_flag. native.c (ext2fs_native_flag): Use WORDS_BIGENDIAN provided by autoconf to determine whether or not return EXT2_FLAG_SWAP_BYTES.
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
9f8046fc6dfc13eee2f5c363214e60b533872cac |
|
14-May-2001 |
Theodore Ts'o <tytso@mit.edu> |
Many files: alloc.c, alloc_tables.c, badblocks.c, bb_compat.c, bb_inode.c, bitmaps.c, bitops.c, block.c, bmap.c, bmove.c, brel_ma.c, check_desc.c, closefs.c, cmp_bitmaps.c, dblist.c, dblist_dir.c, dir_iterate.c, dirblock.c, dupfs.c, expanddir.c, ext2_fs.h, fileio.c, finddev.c, flushb.c, freefs.c, get_pathname.c, getsize.c, icount.c, imager.c, initialize.c, inline.c, inode.c, irel_ma.c, ismounted.c, link.c, lookup.c, mkdir.c, mkjournal.c, namei.c, native.c, newdir.c, nt_io.c, openfs.c, read_bb.c, read_bb_file.c, rs_bitmap.c, rw_bitmaps.c, swapfs.c, test_io.c, tst_badblocks.c, tst_byteswap.c, tst_getsize.c, tst_iscan.c, unix_io.c, unlink.c, valid_blk.c, version.c, write_bb_file.c, ext2_fs.h: Moved file from include/linux. Adjust all files in this directroy to include this file.
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
e5b38a5fafe4807b54d90a2e70bddf4b41b1695b |
|
01-Jan-2001 |
Theodore Ts'o <tytso@mit.edu> |
Many files: ext2fs.h: Remove definition of ext2fs_sb. Note: this may break source (but not binary) compatibility of some users of the ext2 library. They should just simply do a global search and replace of struct ext2fs_sb with struct ext2_super_block, and use their own private copy of ext2_fs.h if they aren't already. closefs.c, initialize.c, link.c, newdir.c, openfs.c, swapfs.c: Replace use of ext2fs_sb with ext2_super_block. ChangeLog, main.c: main.c (main): Replace use of struct ext2fs_sb with struct ext2_super_block.
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
db6c40bcc1c289da87b6687a5163f07904abf000 |
|
13-Dec-2000 |
Theodore Ts'o <tytso@mit.edu> |
swapfs.c: Fix stupid typo.
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
7dcfa6e21762e57b97031e88251cb9994318f339 |
|
13-Dec-2000 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, swapfs.c: swapfs.c (ext2fs_swap_super): Add byte swapping for the journal fields.
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
2c1a0ce7c61677bcadd37c417667eff3b961c050 |
|
11-Feb-2000 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, swapfs.c: swapfs.c (ext2fs_swap_super): Swap the compression usage bitmap.
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
80e808fceb61c2061b32593c610893bf07a863ee |
|
02-Feb-2000 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: debugfs.c (dump_inode): Remove #ifdef for i_version vs. i_generation since we know it will always be i_generation now. ChangeLog, e2fsck.h, flushb.c, scantest.c: e2fsck.h, flushb.c, scantest.c: Remove uneeded include of linux/fs.h bmap.c: Fix silly spelling typo. ChangeLog, getsize.c, ismounted.c, swapfs.c: getsize.c, ismounted.c: Remove unneeded include of linux/fs.h swapfs.c: Remove #ifdef HAVE_EXT2_INODE_VERSION since it's not needed any more; we know it will always be i_generation. Add support for swapping the high bits of the uid and gid.
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
e72a9ba39471364ad2f9397f645ca547090e3485 |
|
25-Jun-1999 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, e2fsck.h, pass1.c, pass2.c, pass4.c, swapfs.c: e2fsck.h: pass1.c (pass1_get_blocks, pass1_read_inode, pass1_write_inode, pass1_check_directory, e2fsck_use_inode_shortcuts): Make pass1_* be private static functions, and create new function e2fsck_use_inode_shortcuts which sets and clears the inode shortcut functions in the fs structure. e2fsck.h: pass2.c (e2fsck_process_bad_inode): Make process_bad_inode() an exported function. pass4.c (e2fsck_pass4): Call e2fsck_process_bad_inode to check if a disconnected inode has any problems before connecting it to /lost+found. Bug and suggested fix by Pavel Machek <pavel@bug.ucw.cz> ChangeLog, swapfs.c: swapfs.c (ext2fs_swap_inode): Add compatibility for Linux 2.3 kernels that use i_generation instead of i_version. Patch supplied by Jon Bright <sircus@sircus.demon.co.uk>. ChangeLog, mke2fs.8.in: mke2fs.8.in: Fix typo in man page which caused the badblocks command to not show up in the "SEE ALSO" section. ChangeLog, expect.1, expect.2, image.gz, name: f_recnect_bad: New test which checks the case where a disconnect inode also bad inode fields; we need to make sure e2fsck offers to fix the inode (or clear the inode, as necessary).
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
b5abe6fac9c9e7caf4710501d1657d30e4857ef6 |
|
19-Jan-1998 |
Theodore Ts'o <tytso@mit.edu> |
Many files: inode.c (ext2fs_open_inode_scan): Initialize the group variables so that we don't need to call get_next_blockgroup() the first time around. Saves a bit of time, and prevents us from needing to assign -1 to current_group (which is an unsigned value). icount.c (insert_icount_el): Cast the estimated number of inodes from a float to an ino_t. alloc.c, alloc_tables.c, badlbocks.c, bb_compat.c, bb_inode.c, bitmaps.c, bitops.c, block.c, bmap.c, bmove.c, brel_ma.c, check_desc.c, closefs.c, cmp_bitmaps.c, dblist.c, dblist_dir.c, dir_iterate.c, dirblock.c, dupfs.c, expanddir.c, ext2fs.h, fileio.c, freefs.c, get_pathname.c, getsize.c, icount.c, initialize.c, inline.c, inode.c, irel_ma.c, ismounted.c, link.c, lookup.c, mkdir.c, namei.c, native.c, newdir.c, openfs.c, read_bb.c, read_bb_file.c, rs_bitmap.c, rw_bitmaps.c, swapfs.c, test_io.c, tst_badblocks.c, tst_getsize.c, tst_iscan.c, unix_io.c, unlink.c, valid_blk.c, version.c: If EXT2_FLAT_INCLUDES is defined, then assume all of the ext2-specific header files are in a flat directory. block.c, bmove.c, dirblock.c, fileio.c: Explicitly cast all assignments from void * to be compatible with C++. closefs.c (ext2fs_flush): Add a call to io_channel_flush() to make sure the contents of the disk are flushed to disk. dblist.c (ext2fs_add_dir_block): Change new to be new_entry to avoid C++ namespace clash. bitmaps.c (ext2fs_copy_bitmap): Change new to be new_map to avoid C++ namespace clash. ext2fs.h, bb_inode.c, block.c, bmove.c, brel.h, brel_ma.c, irel.h, irel_ma.c, dblist.c, dblist_dir.c, dir_iterate.c, ext2fsP.h, expanddir.c, get_pathname.c, inode.c, link.c, unlink.c: Change private to be priv_data (to avoid C++ namespace clash)
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
5be8dc2143c7b3b21a9b8fb56797dd855ee87560 |
|
01-Dec-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: dblist.c (ext2fs_get_num_dirs): Make ext2fs_get_num_dirs more paranoid about validating the directory counts from the block group information. all files: Don't include stdlib.h anymore; include it in ext2_fs.h, since that file requires stdlib.h ChangeLog, Makefile.in, dirinfo.c: dirinfo.c (e2fsck_add_dir_info): Use ext2fs_get_num_dirs instead of e2fsck_get_num_dirs, which has been removed. Makefile.in (PROGS): Remove @EXTRA_PROGS@, since we don't want to compile and install flushb. ChangeLog, configure.in: Remove @EXTRA_PROGS@, since we aren't using it in 2fsck/Makefile.in anymore ChangeLog, Makefile.in: Install debugfs in /sbin, instead of /usr/sbin. libext2fs.texinfo: Update version string to be 1.12 Makefile.in: Fix bug in find script which made the exclusion list, where a '-' was missing from an -name option.
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
4cbe8af4b0d0c72fb28bb500c1bd8a46b00fdde3 |
|
11-Aug-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: block.c (ext2fs_block_iterate2): Use retval which is a errcode_t type. bitmaps.c (make_bitmap): Use size_t instead of int where appropriate. bb_inode.c (set_bad_block_proc): Add #pragma argsused for Turbo C. alloc.c (ext2fs_new_inode): Use ino_t instead of int for the group number. get_pathname.c: Use ino_t instead of int where appropriate. ext2fs.h: Make the magic structure element be errcode_t instead of int. alloc.c alloc_tables.c badblocks.c bb_compat.c bb_inode.c bitmaps.c block.c bmove.c brel_ma.c check_desc.c closefs.c cmp_bitmaps.c dblist.c dblist_dir.c dir_iterate.c dirblock.c dupfs.c expanddir.c freefs.c get_pathname.c icount.c initialize.c inline.c inode.c irel_ma.c link.c llseek.c lookup.c mkdir.c namei.c newdir.c read_bb.c read_bb_file.c rs_bitmap.c rw_bitmaps.c swapfs.c test_io.c tst_badblocks.c tst_iscan.c unix_io.c unlink.c valid_blk.c version.c: Add an #ifdef for HAVE_UNISTD_H
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
19c78dc07fce2d6f39b5e541562afc3ca1ea38ff |
|
29-Apr-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Checked in e2fsprogs-1.07
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
1e3472c5f37ca3686dd69b079d4d02a302f5798d |
|
29-Apr-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Checked in e2fsprogs 1.05
/external/e2fsprogs/lib/ext2fs/swapfs.c
|
50e1e10fa0ac12a3e2a9d20a75ee9041873cda96 |
|
26-Apr-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Checked in e2fsprogs 0.5c
/external/e2fsprogs/lib/ext2fs/swapfs.c
|