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:
parent
2603474ff9
commit
550d5c2879
@ -50,7 +50,6 @@ struct volume_id {
|
||||
uint8_t *seekbuf;
|
||||
uint64_t seekbuf_off;
|
||||
size_t seekbuf_len;
|
||||
int fd_close:1;
|
||||
};
|
||||
|
||||
/* filesystems */
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user