History log of /external/e2fsprogs/e2fsck/jfs_user.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c4d54aa2f71c9a263a6dcf52b0ae9cd8224087fe 01-Sep-2016 Theodore Ts'o <tytso@mit.edu> e2fsck: fix an alignment problem which causes sparc64 in the journal code

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
b41a4ffa509df9f16f614dd1483cec77c3260a6c 21-May-2016 Theodore Ts'o <tytso@mit.edu> e2fsck: use com_err error codes instead of EBADMSG and EUCLEAN

Some operating systems may not define EBADMSG and EUCLEAN, so for
better portability use our own private error code numbers.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
b4f02c9f32e37d082b3828d138d405c10263beab 16-Apr-2016 Theodore Ts'o <tytso@mit.edu> e2fsck: use specific CRC and corruption errors in journal recovery

Sync up with kernel commit 6a797d27: "ext4: call out CRC and
corruption errors with specific error codes".

This allows us to distinguish between CRC errors and I/O errors.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
df0b907ec1625b058814f42119c9a736f2c34c96 13-Jul-2015 Theodore Ts'o <tytso@mit.edu> debugfs: cleanup gcc -Wall warnings

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
81f95d43d52adef4d46a9c60d4cbb98ed5043062 26-May-2015 Theodore Ts'o <tytso@mit.edu> libext2fs, libe2p, misc: git rid of jfs_user.h

Having multiple versions of jfs_user.h was confusing the Android
build. Clean up things by removing the lib/ext2fs/jfs_user.h and
misc/jfs_user.h and simplifying how we emulate the kernel
infrastructure needed by journal replay code and removing the
kernel-specific lines from kernel-jbd.h.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
3e683eef936e6d80e7838330aaaf526d4ecc7849 04-Nov-2014 Eric Sandeen <sandeen@redhat.com> define bitwise types and annotate conversion routines

This lays the groundwork for sparse-checking e2fsprogs for
endianness; defines bitwise types, and fixes up the ext2fs_*
swapping routines to do the proper casts.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
cbe867f039bce2377af36e6b27d69f168d806b6c 19-Sep-2014 Theodore Ts'o <tytso@mit.edu> e2fsck: fix build under dietlibc

The asm_types.h file needs to include stdio.h and stdlib.h in order to
get integer types included. So add those includes into jfs_user.h to
avoid a build faliure under dietlibc.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
759c46cf45a8f8a1938404604bf666479e9b9831 09-Sep-2014 Darrick J. Wong <darrick.wong@oracle.com> debugfs: create journal handling routines

Create a journal.c with routines adapted from e2fsck/journal.c to
handle opening and closing the journal, and setting up the
descriptors, and all that. Unlike e2fsck's versions which try to
identify and fix problems, the routines here have no way to repair
anything.

[ Modified by tytso to fold debugfs/jfs_user.h into e2fsck/jfs_user.h,
so we don't have to copy recovery.c and revoke.c into debugfs. --tytso ]

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
97f168b67eb1d0b46ec08bf2751313604e67fc16 27-Aug-2014 Darrick J. Wong <darrick.wong@oracle.com> e2fsck: resync jbd2 revoke code from Linux 3.16

Synchronize e2fsck's copy of revoke.c with the kernel's copy in
fs/jbd2.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
13af4b93fbfc1fd9a0bbce08c78e686b531ebd8a 27-Aug-2014 Darrick J. Wong <darrick.wong@oracle.com> e2fsck: resync jbd2 recovery code from Linux 3.16

Synchronize e2fsck's copy of recovery.c with the kernel's copy in
fs/jbd2.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
0e7e7c8ef89cf32fdb1210bfde1feb90880c327b 10-Sep-2012 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
lib/ext2fs/ext2fs.h
ab3f5c5aad6310be1d1891c05f1bc8cf7ccf0cef 10-Sep-2012 Theodore Ts'o <tytso@mit.edu> Allow e2fsprogs to be built using the clang (LLVM) frontend

Since clang uses C99 semantics by default, the main changes required
to allow clang to build e2fsprogs was to add support the C99 inline
semantics, while still allowing us to be built when the legacy (but
still default for gcc) GNU C89 inline semantics are in force.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
d920038068bbda80df9060be55da5726a6efe9a4 03-Aug-2012 Darrick J. Wong <djwong@us.ibm.com> e2fsck: verify data block checksums when recovering journal

Check the data block checksums when recovering the journal.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
3b693d0b03569795d04920a04a0a21e5f64ffedc 22-May-2012 Theodore Ts'o <tytso@mit.edu> e2fsck: fix 64-bit journal support

64-bit journal support was broken; we weren't using the high bits from
the journal descriptor blocks! We were also using "unsigned long" for
the journal block numbers, which would be a problem on 32-bit systems.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
79a4dddbf7636160c6506a42402505d676b9a6e0 08-Oct-2011 Darrick J. Wong <djwong@us.ibm.com> e2fsck: recover revoke blocks on 64bit filesystems correctly

Since the advent of 64bit filesystems, revoke blocks store 64-bit
block numbers instead of 32-bit block numbers. Therefore we need to
be able to handle that case.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
6dc64392c052839f373b7bbbb58efa3048bfb355 13-Jun-2010 Valerie Aurora Henson <vaurora@redhat.com> e2fsck: Fix up to be 64-bit block number safe

Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com>
Signed-off-by: Nick Dokos <nicholas.dokos@hp.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
e35d548b59e24af9f7fc18396e8880df96d1bc51 03-Jan-2009 Theodore Ts'o <tytso@mit.edu> e2fsck: Fix journal replay for block sizes greater than 8k

E2fsck was using a fixed-size 8k buffer for replaying blocks from the
journal. So attempts to replay a journal on filesystems greater than
8k would cause e2fsck to crash with a segfault.

Thanks to Miao Xie <miaox@cn.fujitsu.com> for reporting this problem.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
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/e2fsck/jfs_user.h
1911bf113ef0f9c71090f26279e4a4082fae0abc 13-Jul-2008 Theodore Ts'o <tytso@mit.edu> e2fsck: Change kmem_cache_t to lkmem_cache_t for Solaris

Solaris polutes the C namespace with kmem_cache_t when
you include in/netinet.h is included, so rename kmem_cache_t
to lkmem_cache_t.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
2acad6b4895a0e218f9d9eece1ade23c2cf4ffc7 07-Jun-2008 Theodore Ts'o <tytso@mit.edu> Fix gcc -Wall warnings in e2fsck

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
185c4aeaf23d48375e3506218305031663203d0f 23-May-2008 Theodore Ts'o <tytso@mit.edu> e2fsck: Add support to check journal checksums

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
e5ea6b14eb93671525e01ec4a6100febe541bf67 20-May-2008 Theodore Ts'o <tytso@mit.edu> e2fsck: Fix potential data corruptor bug in journal recovery

While synchronizing e2fsck's recovery.c with the latest 2.6 kernel
sources, I discovered a serious bug that apparently had been fixed in
the kernel sometime between Deceber 2003 and April 2005, but which had
not been carried over to e2fsprogs. Specifically, when blocks whose
first 4 bytes are JFS_MAGIC_NUMBER (0xc03b3998) are written into the
journal, the first 4 bytes zero'ed out. A one character typo meant
that when the blocks were replayed by e2fsck, the JFS_MAGIC_NUMBER
would not be restored.

Oops.

Fortunately, it is *highly* unlikely that ext4 metadata blocks will
contain that magic number in the first four bytes, and data=journalled
is a relatively rarely used.

This commit fixes this bug, as well as updating e2fsck's recovery.c to
be in sync with 2.6.25.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/jfs_user.h
93effaa456e490c6dfff08287c8f5c652cac8469 27-May-2004 Theodore Ts'o <tytso@mit.edu> Fixed potential ordering constraint problem in e2fsck's journal
recovery code by implementing the sync_blockdev function. Thanks to
Junfeng Yang from the Stanford Metacompilation group for pointing this
out.
/external/e2fsprogs/e2fsck/jfs_user.h
3de085dd4109e6a7049dd6b85abf0313167cab5b 07-Dec-2003 Theodore Ts'o <tytso@mit.edu> recovery.c, jfs_user.h: Sync recovery.c with latest 2.5 kernel
version.
/external/e2fsprogs/e2fsck/jfs_user.h
19007e51a548d1e0eff01025dde9f147a0beb26d 24-Dec-2001 Theodore Ts'o <tytso@mit.edu> Move linux/jbd.h to ext2fs/kernel-jbd.h, to avoid using the
system header file version of hbd.h when using diet glibc
(since it forcibly adds /usr/include to the beginning of include
search path.)
/external/e2fsprogs/e2fsck/jfs_user.h
8cf93332d180e6929d73cd8c855c3a83d6a6648c 16-Dec-2001 Theodore Ts'o <tytso@mit.edu> Fix e2fsck's handling of external journals,and update journal
recovery files from 2.4.17-pre8.
/external/e2fsprogs/e2fsck/jfs_user.h
15986f7931e1fe65621b4defb5522c9bf8da76ef 29-Mar-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, jfs_user.h, journal.c:
journal.c (mark_buffer_uptodate): Add emulation of kernel function
mark_buffer_uptodate.
/external/e2fsprogs/e2fsck/jfs_user.h
86c627ec1136446409a0170d439e60c148e6eb48 11-Jan-2001 Theodore Ts'o <tytso@mit.edu> Many files:
dirinfo.c, e2fsck.h, emptydir.c, iscan.c, jfs_user.h, journal.c,
message.c, pass1.c, pass1b.c, pass2.c, pass3.c, pass4.c, pass5.c,
problem.h, scantest.c, super.c, swapfs.c: Change ino_t to ext2_ino_t.
/external/e2fsprogs/e2fsck/jfs_user.h
53ef44c40a3e425d2c700d8fd77a6b655aa121fe 06-Jan-2001 Theodore Ts'o <tytso@mit.edu> Many files:
journal.c, pass1.c, pass1b.c, pass3.c, recovery.c, revoke.c, super.c,
unix.c, util.c: Fix random gcc -Wall complaints.
jfs_user.h: Use more sophisticated inline handling to allow building
with --enable-gcc-wall
/external/e2fsprogs/e2fsck/jfs_user.h
cc7067b40bbd3e585da3031c1e06794107ff0d0b 03-Jan-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, Makefile.in, jfs_user.h:
jfs_user.h: Moved contents of jfs_e2fsck.h into jfs_user.h.
/external/e2fsprogs/e2fsck/jfs_user.h
0e8a9560d89dd9cca73037a59efa93e46abdccda 09-Dec-2000 Theodore Ts'o <tytso@mit.edu> Many files:
jfs_e2fsck.h, jfs_user.h: Replaces jfs_compat.h. The jfs.h file has
been moved to the include/linux directory.
journal.c, revoke.c, recovery.c: Updated files from Stephen to support
the V2 superblock and revoke processing. The journal.c and revoke.c
files are copies from the ext3 kernel source.
Makefile.in: Added revoke.c to the list of source/object files.
Makefile.in:
Fix up some mistakes in the source file list, and regenerate the
dependencies.
Update Makefile dependencies.
ChangeLog, jfs.h:
jfs.h: Remove excess #include of JFS_DEBUG. Not needed for e2fsprogs,
since we optioanlly define it in the configuration file system.
/external/e2fsprogs/e2fsck/jfs_user.h