]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
raid5: separate header for log functions
authorArtur Paszkiewicz <artur.paszkiewicz@intel.com>
Thu, 9 Mar 2017 08:59:58 +0000 (09:59 +0100)
committerShaohua Li <shli@fb.com>
Thu, 16 Mar 2017 23:55:54 +0000 (16:55 -0700)
commitff875738edd44e3bc892d378deacc50bccc9d70c
tree9c831895576861c9ae3c30fca2702d673b6f4eaf
parentea0213e0c7cc1c1b52badf27bd7db4f50a67baaa
raid5: separate header for log functions

Move raid5-cache declarations from raid5.h to raid5-log.h, add inline
wrappers for functions which will be shared with ppl and use them in
raid5 core instead of direct calls to raid5-cache.

Remove unused parameter from r5c_cache_data(), move two duplicated
pr_debug() calls to r5l_init_log().

Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5-cache.c
drivers/md/raid5-log.h [new file with mode: 0644]
drivers/md/raid5.c
drivers/md/raid5.h