History log of /external/f2fs-tools/mkfs/f2fs_format_utils.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ba91378ec599572f0a47c44f4cd6a975a2f99653 23-Jul-2014 Sankalp Bose <sankalp@tuxera.com> mkfs.f2fs: fix name conflict for BLKDISCARD

The compile time option BLKDISCARD conflicts with ioctl code
for discard. This causes discard to fail with "Info: This
device doesn't support TRIM". Rename compile time option
to WITH_BLKDISCARD.

Signed-off-by: Sankalp Bose <sankalp@tuxera.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
/external/f2fs-tools/mkfs/f2fs_format_utils.c
46bf13d5afbdd87d0cacaa06ec159cf9546c5726 13-Jun-2014 Jaegeuk Kim <jaegeuk@kernel.org> mkfs: set BLKDISCARD by default

And let's show some debug info as well.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Change-Id: I0a1e1b251038968ef884eec55a770e747582ace5
/external/f2fs-tools/mkfs/f2fs_format_utils.c
c5786963aef93bb7747cb04454e1041738b3255f 13-Jun-2014 Jaegeuk Kim <jaegeuk@kernel.org> libf2fs, fsck, mkfs: call f2fs_finalize_device before exit

The fsck tool should call f2fs_finalize_device before exit to close the device
file.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Change-Id: I145413c94339d8941e4d7da8545ca017e76c61f2
/external/f2fs-tools/mkfs/f2fs_format_utils.c
0fbdf6cbd4dfc633454eba2f841c123789e297ad 06-Apr-2014 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs-tools: announce dual licenses with GPL and LGPL v2

This patch announces LGPL v2 for the following files.
- include/f2fs_fs.h
- lib/libf2fs.c
- lib/libf2fs_io.c
- mkfs/f2fs_format.c
- mkfs/f2fs_format_main.c
- mkfs/f2fs_format_utils.c
- mkfs/f2fs_format_utils.h

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
/external/f2fs-tools/mkfs/f2fs_format_utils.c
3c85e737308ef95629b232745d6a8d141d87cc9a 14-May-2014 JP Abgrall <jpa@google.com> Cleanup various build warnings (signed vs unsigned, unused vars,...)

* removed unused includes.
* removed unused parameters.
* Fixed a bunch of warnings around:
int i;
if (i < some_uint) ...
and
u32 x;
...
if (x < 0) return error;
* Protect BLKDISCARD usage if it is not available.

Change-Id: Iede035b1beb2df01c961589a69aff47a5258ecd2
Signed-off-by: JP Abgrall <jpa@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
/external/f2fs-tools/mkfs/f2fs_format_utils.c
4f267323a28c3fb50fa08256517e2dae4e347b2d 20-Jan-2014 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs-tools: resolve build warnings

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
/external/f2fs-tools/mkfs/f2fs_format_utils.c
437dbf67730d2765c4dfc8539b07258e1ca3966f 11-Jan-2014 JP Abgrall <jpa@google.com> mkfs: completely abstract the dev IO during format

This change allows for f2fs_format to work on a non-standard device (e.g.
sparse-memory backed file).
Removes direct access to config.fd from within f2fs_format.c.

Now, f2fs_format_device() can be made to work against any device by
providing
f2fs_finalize_device()
f2fs_trim_device()
and the lib2fs.c functions
ASCIIToUNICODE
dev_write
f2fs_cal_crc32
f2fs_set_bit
log_base_2

This will allow Android's fastboot to use f2fs against a libsparse.

Signed-off-by: JP Abgrall <jpa@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
/external/f2fs-tools/mkfs/f2fs_format_utils.c