]> git.karo-electronics.de Git - karo-tx-linux.git/commit
raid5-cache: new helper: r5_reserve_log_entry
authorChristoph Hellwig <hch@lst.de>
Mon, 5 Oct 2015 07:31:14 +0000 (09:31 +0200)
committerNeilBrown <neilb@suse.com>
Sun, 1 Nov 2015 02:48:28 +0000 (13:48 +1100)
commitc1b9919849866b96dc435f025beaa307dc76ca27
tree7e96f4aedd6aeaf9cec5ff0014768f98ebd8d137
parent51039cd066553689bb82a588b25a6eba7d453837
raid5-cache: new helper: r5_reserve_log_entry

Factor out code to reserve log space.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Shaohua Li <shli@fb.com>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/raid5-cache.c