History log of /external/e2fsprogs/lib/blkid/getsize.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/blkid/getsize.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/blkid/getsize.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/blkid/getsize.c
45ff69ffeb700012a7c052f5e45882557a40be7e 16-Dec-2013 Andreas Dilger <adilger@dilger.ca> build: quiet LLVM non-literal string format warning

Compiling with LLVM generates a large number of warnings due
to the use of _() for wrapping strings for i18n:

warning: format string is not a string literal
(potentially insecure) [-Wformat-security]
./nls-enable.h:4:14: note: expanded from macro '_'
#define _(a) (gettext (a))
^~~~~~~~~~~~

These warnings are fixed by using "%s" as the format string,
and then _() is used as the string argument.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/getsize.c
3e554cc116a55c9fffe17f4e819d5f2ecf8ad0af 23-Nov-2012 Andreas Dilger <adilger@dilger.ca> ext2fs, blkid: localize environment-specific variables

Restructure the ext2fs_get_device_size() and blkid_get_dev_size()
code to localize the variables used for different device probing
methods. This at least reduces the #ifdef mess to only one part
of the code for each method, and avoids "unused variable" compiler
warnings added when variables are declared without being #ifdef'd.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/getsize.c
7270fbe7fa51cbce01a07d031f03872f314206d1 24-Feb-2012 Andreas Dilger <adilger@whamcloud.com> build: fix compile warnings on OSX

Clean up some compile warnings related to fstat64(), which is
verbosely deprecated on OSX.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/getsize.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/blkid/getsize.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/blkid/getsize.c
a98b51e9dd0384d37a4721d52f5f36a15c2ac94a 04-Aug-2007 Theodore Ts'o <tytso@mit.edu> Miscellaneous Cleanups

Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Signed-off-by: Girish Shilamkar <girish@clusterfs.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/getsize.c
de8f3a76218255e443ba57dec5d74850180fa75d 25-May-2007 Andreas Dilger <adilger@clusterfs.com> Fix gcc -Wall warnings, especially on 64-bit systems

Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/getsize.c
9a519c0284de70baadfe39e773c369c378aae6a6 21-Jun-2006 Andreas Dilger <adilger@clusterfs.com> fix comment for blkid_get_dev_size()

Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
/external/e2fsprogs/lib/blkid/getsize.c
a0dfc6ea8c28c639e4ec7d49d7c5251d1d6e7a9d 30-May-2006 Matthias Andree <matthias.andree@gmx.de> Revise DIOCGDINFO (sys/disklabel.h) related FreeBSD comment.

Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
/external/e2fsprogs/lib/blkid/getsize.c
5beaabb0f88e3fb2a4b3617fed9ac76f7a60f440 30-May-2006 Matthias Andree <matthias.andree@gmx.de> Enable sys/disklabel.h and DIOCGDINFO based getsize code.

Tested on FreeBSD 4.11-RELEASE i386.

Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
/external/e2fsprogs/lib/blkid/getsize.c
f72b8ff09837d6e495d604b6eef4f4e732193df9 30-May-2006 Matthias Andree <matthias.andree@gmx.de> Implement DIOCGMEDIASIZE for FreeBSD's GEOM.

Try DIOCGMEDIASIZE ioctl() if defined, to obtain
the media size on FreeBSD 5.0 and newer.
The binary search fallback doesn't work, as FreeBSD
block devices are unbuffered and refuse reads below
the block size.

Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
/external/e2fsprogs/lib/blkid/getsize.c
9b7d811ddad946e728d9348a78cb06dee159df96 10-Jul-2005 Andreas Dilger <adilger@clusterfs.com> This patch adds a check to use fstat or fstat64 in getsize.c if the
target is a regular file, instead of doing binary searching. It also
fixes a couple of cases where a file descriptor is leaked in the
ext2fs_getsize() routine on error.

Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
/external/e2fsprogs/lib/blkid/getsize.c
b22ea17742b3e354c3ee1372d43630dda21a59f5 17-Mar-2005 Theodore Ts'o <tytso@mit.edu> getsize.c (blkid_get_dev_size): Fix compilation problem on
Darwin systems.
/external/e2fsprogs/lib/blkid/getsize.c
f892826b8d25369ea513dd8d1c7e714f23dabf99 13-Jan-2005 Matthias Andree <matthias.andree@gmx.de> lib/blkid/getsize.c: Move #include "blkidP.h" before <sys/queues.h>
to avoid a clash with the LIST_HEAD in the latter file that results
in compilation failure.
/external/e2fsprogs/lib/blkid/getsize.c
9845cf5dbd4d06ebc1fe0db99078d7a0be641e0a 18-Sep-2004 Theodore Ts'o <tytso@mit.edu> Clean up the header file #include's for lib/blkid/getsize.c
and lib/ext2fs/getsize.c

In lib/blkid/getsize.c, include <sys/disk.h> if present since
this is where the DIOCGMEDIASIZE ioctl is defined on FreeBSD.
(Addresses Debian Bug #264630)
/external/e2fsprogs/lib/blkid/getsize.c
1cdb6f760215b36709aa434ba9b24720b6d2872f 22-Mar-2004 Theodore Ts'o <tytso@mit.edu> Don't close the file descriptor when determining the size.
This bug was introduced in the previous getsize changes,
and was screwing up the blkid library probe functions.
(Addresses Debian Bug #239191)
/external/e2fsprogs/lib/blkid/getsize.c
2c5cfbcb99f70d90f8e679bd2994b263ca6d11d6 08-Mar-2004 Theodore Ts'o <tytso@mit.edu> Only use the BLKGETSIZE64 ioctl on Linux 2.6 since it is
unreliable in Linux 2.4. (Addresses Debian Bug #236528).

Fix typo in the ioctl used for Mac OS X.
/external/e2fsprogs/lib/blkid/getsize.c
85b870034437e590e4aca77e325f3f5d6815eb39 02-Mar-2004 Theodore Ts'o <tytso@mit.edu> Update getsize functions to use the Apple Darwin and Linux 64-bit
ioctl's.
/external/e2fsprogs/lib/blkid/getsize.c
0faabe5dea669fdc595041fe5fae16c70958bdad 31-Mar-2003 Theodore Ts'o <tytso@mit.edu> getsize.c: #include stat.h for the Apple Darwin port
/external/e2fsprogs/lib/blkid/getsize.c
aa75ecccab67ea7428fc19c66e80a28fb1ca941f 17-Mar-2003 Theodore Ts'o <tytso@mit.edu> Fix the Apple Darwin port.
/external/e2fsprogs/lib/blkid/getsize.c
7a603aa89fcffb8798eca34ca3858db6f0393046 26-Jan-2003 Theodore Ts'o <tytso@mit.edu> Separate public and private interfaces into separate header files.
Start separating internal implementation details from the
publically exported interface of the blkid library.
/external/e2fsprogs/lib/blkid/getsize.c
e12f2ae74c2eb8997bf13adf8fdd7e7313971eae 23-Jan-2003 Theodore Ts'o <tytso@mit.edu> Integrate new blkid library.
/external/e2fsprogs/lib/blkid/getsize.c