1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-26 14:04:03 +03:00

volume_id: remove left-over fd close()

This commit is contained in:
Kay Sievers 2008-08-29 17:06:08 +02:00
parent 2603474ff9
commit 550d5c2879
2 changed files with 0 additions and 4 deletions

View File

@ -50,7 +50,6 @@ struct volume_id {
uint8_t *seekbuf;
uint64_t seekbuf_off;
size_t seekbuf_len;
int fd_close:1;
};
/* filesystems */

View File

@ -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);