libfs: separating closing a file descriptor from releasing a reference to the file itself
This commit is contained in:
@@ -42,6 +42,7 @@ extern struct fs_file *fs_context_open_file(
|
||||
extern struct fs_file *fs_context_get_file(
|
||||
struct fs_context *ctx,
|
||||
unsigned long id);
|
||||
extern void fs_context_unref_file(struct fs_context *ctx, struct fs_file *f);
|
||||
extern void fs_context_close_file(struct fs_context *ctx, struct fs_file *f);
|
||||
|
||||
extern enum fs_status fs_context_resolve_path(
|
||||
|
||||
Reference in New Issue
Block a user