diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-08-20 03:46:01 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-08-20 03:46:01 +0800 |
commit | 269c5c71072f9e17e6387f853d626bff1160db5c (patch) | |
tree | 3a4b1cca074e10495fa1b8f5611a40ad1fba69e8 /Godeps/_workspace/src/github.com/syndtr | |
parent | 382d35bf403ab5dd9b0d2fe3a87c3960902d6e57 (diff) | |
download | go-tangerine-269c5c71072f9e17e6387f853d626bff1160db5c.tar go-tangerine-269c5c71072f9e17e6387f853d626bff1160db5c.tar.gz go-tangerine-269c5c71072f9e17e6387f853d626bff1160db5c.tar.bz2 go-tangerine-269c5c71072f9e17e6387f853d626bff1160db5c.tar.lz go-tangerine-269c5c71072f9e17e6387f853d626bff1160db5c.tar.xz go-tangerine-269c5c71072f9e17e6387f853d626bff1160db5c.tar.zst go-tangerine-269c5c71072f9e17e6387f853d626bff1160db5c.zip |
Revert "fdtrack: temporary hack for tracking file descriptor usage"
This reverts commit 5c949d3b3ba81ea0563575b19a7b148aeac4bf61.
Diffstat (limited to 'Godeps/_workspace/src/github.com/syndtr')
-rw-r--r-- | Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage.go b/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage.go index 6d44f74b3..46cc9d070 100644 --- a/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage.go +++ b/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage.go @@ -18,7 +18,6 @@ import ( "sync" "time" - "github.com/ethereum/go-ethereum/fdtrack" "github.com/syndtr/goleveldb/leveldb/util" ) @@ -370,8 +369,6 @@ func (fw fileWrap) Close() error { err := fw.File.Close() if err != nil { f.fs.log(fmt.Sprintf("close %s.%d: %v", f.Type(), f.Num(), err)) - } else { - fdtrack.Close("leveldb") } return err } @@ -403,7 +400,6 @@ func (f *file) Open() (Reader, error) { return nil, err } ok: - fdtrack.Open("leveldb") f.open = true f.fs.open++ return fileWrap{of, f}, nil @@ -422,7 +418,6 @@ func (f *file) Create() (Writer, error) { if err != nil { return nil, err } - fdtrack.Open("leveldb") f.open = true f.fs.open++ return fileWrap{of, f}, nil |