diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-08-29 17:06:08 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-08-29 17:06:08 +0200 |
commit | 550d5c28791a1bd50bd70bab6f9c4ee419e3ad50 (patch) | |
tree | 7f207542cd6e6c432f0d80eb59b5d737ff097e98 /extras/volume_id/lib | |
parent | 2603474ff9be2418900581da1af5cccc9f13cae1 (diff) |
volume_id: remove left-over fd close()
Diffstat (limited to 'extras/volume_id/lib')
-rw-r--r-- | extras/volume_id/lib/libvolume_id-private.h | 1 | ||||
-rw-r--r-- | extras/volume_id/lib/volume_id.c | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/extras/volume_id/lib/libvolume_id-private.h b/extras/volume_id/lib/libvolume_id-private.h index 578f6fc4e7..c9afaf94e7 100644 --- a/extras/volume_id/lib/libvolume_id-private.h +++ b/extras/volume_id/lib/libvolume_id-private.h @@ -50,7 +50,6 @@ struct volume_id { uint8_t *seekbuf; uint64_t seekbuf_off; size_t seekbuf_len; - int fd_close:1; }; /* filesystems */ diff --git a/extras/volume_id/lib/volume_id.c b/extras/volume_id/lib/volume_id.c index 86e66bb76c..ef2b663f6c 100644 --- a/extras/volume_id/lib/volume_id.c +++ b/extras/volume_id/lib/volume_id.c @@ -501,9 +501,6 @@ void volume_id_close(struct volume_id *id) if (id == NULL) return; - if (id->fd_close != 0) - close(id->fd); - volume_id_free_buffer(id); free(id); |