diff options
Diffstat (limited to 'debugfs/debugfs.c')
-rw-r--r-- | debugfs/debugfs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c index 0e56ead6..326f41e8 100644 --- a/debugfs/debugfs.c +++ b/debugfs/debugfs.c @@ -56,6 +56,7 @@ const char *debug_prog_name; int sci_idx; ext2_filsys current_fs = NULL; +quota_ctx_t current_qctx; ext2_ino_t root, cwd; static void open_filesystem(char *device, int open_flags, blk64_t superblock, @@ -238,6 +239,8 @@ static void close_filesystem(NOARGS) if (retval) com_err("ext2fs_write_block_bitmap", retval, 0); } + if (current_qctx) + quota_release_context(¤t_qctx); retval = ext2fs_close(current_fs); if (retval) com_err("ext2fs_close", retval, 0); |