rocksdb/env
Mike Kolupaev f2a0fa2640 Fix crash in PosixWritableFile::Close() when fstat() fails
Summary:
We had a crash in this code: `fstat()` failed; `file_stats` contained garbage, in particular `file_stats.st_blksize == 6`; the expression `file_stats.st_blocks / (file_stats.st_blksize / 512)` divided by zero.
Closes https://github.com/facebook/rocksdb/pull/2420

Differential Revision: D5216110

Pulled By: al13n321

fbshipit-source-id: 6d8fc5e7c4f98c1139e68c7829ebdbac68b0fce0
2017-08-17 13:09:37 -07:00
..
env_basic_test.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
env_chroot.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
env_chroot.h Change RocksDB License 2017-07-20 17:20:44 -07:00
env_hdfs.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
env_posix.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
env_test.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
env.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
io_posix.cc Fix crash in PosixWritableFile::Close() when fstat() fails 2017-08-17 13:09:37 -07:00
io_posix.h Change RocksDB License 2017-07-20 17:20:44 -07:00
memenv.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
mock_env_test.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
mock_env.cc Change RocksDB License 2017-07-20 17:20:44 -07:00
mock_env.h Change RocksDB License 2017-07-20 17:20:44 -07:00
posix_logger.h Change RocksDB License 2017-07-20 17:20:44 -07:00