fs: Add fix from 1da478d5 for 4.x dropped filesystems
This commit is contained in:
parent
d43dc03efa
commit
a8e9328f63
@ -87,7 +87,6 @@ static void echfs_close(struct file_handle *file) {
|
||||
struct echfs_file_handle *f = file->fd;
|
||||
pmm_free(f->alloc_map, f->file_block_count * sizeof(uint64_t));
|
||||
pmm_free(f, sizeof(struct echfs_file_handle));
|
||||
pmm_free(file, sizeof(struct file_handle));
|
||||
}
|
||||
|
||||
struct file_handle *echfs_open(struct volume *part, const char *path) {
|
||||
|
@ -825,5 +825,4 @@ static int ntfs_read(struct file_handle *handle, void *buf, uint64_t loc, uint64
|
||||
|
||||
static void ntfs_close(struct file_handle *file) {
|
||||
pmm_free(file->fd, sizeof(struct ntfs_file_handle));
|
||||
pmm_free(file, sizeof(struct file_handle));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user