ocfs2: don't use handle for locking in allocation functions
Instead we record our state on the allocation context structure which all callers already know about and lifetime correctly. This means the reservation functions don't need a handle passed in any more, and we can also take it off the alloc context. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
This commit is contained in:
@ -42,7 +42,6 @@ int ocfs2_alloc_should_use_local(struct ocfs2_super *osb,
|
||||
|
||||
struct ocfs2_alloc_context;
|
||||
int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb,
|
||||
struct ocfs2_journal_handle *passed_handle,
|
||||
u32 bits_wanted,
|
||||
struct ocfs2_alloc_context *ac);
|
||||
|
||||
|
Reference in New Issue
Block a user