mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
reiserfs: use buffer_info for leaf_paste_entries
This patch makes leaf_paste_entries more consistent with respect to the other leaf operations. Using buffer_info instead of buffer_head directly allows us to get a superblock pointer for use in error handling. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
600ed41675
commit
eba0030559
3 changed files with 11 additions and 13 deletions
|
@ -2026,7 +2026,7 @@ void leaf_paste_in_buffer(struct buffer_info *bi, int pasted_item_num,
|
|||
int zeros_number);
|
||||
void leaf_cut_from_buffer(struct buffer_info *bi, int cut_item_num,
|
||||
int pos_in_item, int cut_size);
|
||||
void leaf_paste_entries(struct buffer_head *bh, int item_num, int before,
|
||||
void leaf_paste_entries(struct buffer_info *bi, int item_num, int before,
|
||||
int new_entry_count, struct reiserfs_de_head *new_dehs,
|
||||
const char *records, int paste_size);
|
||||
/* ibalance.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue