OSDN Git Service

Make a failure of the BLKDISCARD ioctl non-fatal.
authorKen Sumrall <ksumrall@android.com>
Wed, 23 Mar 2011 03:18:02 +0000 (20:18 -0700)
committerKen Sumrall <ksumrall@android.com>
Wed, 23 Mar 2011 03:18:02 +0000 (20:18 -0700)
commit427c3a2177eb4d34c88406bb86107548737168cc
tree114b337abe6e079db0e74f161fc99c6768fb5374
parent3e620597671c7efa678c1cd804202cff513bc751
Make a failure of the BLKDISCARD ioctl non-fatal.

Failure to erase the partition before making a new filesystem
should not be fatal, especially since this is called from recovery,
and if make_ext4fs() dies, recovery dies.

Change-Id: I1b50b8c486d403a5d9cbd5e9de73cf752d8ef8f7
ext4_utils/wipe.c