[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/7] android_bootimg: Implement close
From: |
Shea Levy |
Subject: |
[PATCH 4/7] android_bootimg: Implement close |
Date: |
Tue, 26 Jan 2016 13:51:19 -0500 |
---
grub-core/fs/android_bootimg.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/grub-core/fs/android_bootimg.c b/grub-core/fs/android_bootimg.c
index 249f8ca..793e0aa 100644
--- a/grub-core/fs/android_bootimg.c
+++ b/grub-core/fs/android_bootimg.c
@@ -216,7 +216,8 @@ grub_android_bootimg_read (grub_file_t file, char *buf,
grub_size_t len)
static grub_err_t
grub_android_bootimg_close (grub_file_t file)
{
- return GRUB_ERR_NOT_IMPLEMENTED_YET;
+ grub_free (file->data);
+ return GRUB_ERR_NONE;
}
static struct grub_fs grub_android_bootimg_fs = {
--
2.7.0
- [PATCH 0/7] Add driver for android bootimg filesystem, Shea Levy, 2016/01/26
- [PATCH 2/7] android_bootimg: Implement dir, Shea Levy, 2016/01/26
- [PATCH 4/7] android_bootimg: Implement close,
Shea Levy <=
- [PATCH 1/7] Add stub module for android bootimgs, Shea Levy, 2016/01/26
- [PATCH 5/7] android_bootimg: Implement read, Shea Levy, 2016/01/26
- [PATCH 6/7] android_bootimg: style fixes, Shea Levy, 2016/01/26
- [PATCH 3/7] android_bootimg: Implement open, Shea Levy, 2016/01/26
- [PATCH 7/7] Add android_bootimg to changelog, Shea Levy, 2016/01/26
- Re: [PATCH 0/7] Add driver for android bootimg filesystem, Vladimir 'phcoder' Serbinenko, 2016/01/26