How to do Header Dependency Check Properly for Kernel Patch
Quoted 4 lines · nick
I have a patch for moving over the rcu-string header file for btrfs to the standard include headers in
include/linux
as you stated this on a to do on the brtfs to do page for the project's wiki page.
The wiki page states that the task is already assigned
https://btrfs.wiki.kernel.org/index.php/Project_ideas#Move_rcu_string_out_of_btrfs_to_lib.2F
besides that there were 8 iterations of the patchset, acked by the respective people.
http://thread.gmane.org/gmane.linux.kernel/1862689
fs/btrfs/btrfs_inode.h line 21
Quoted 11 lines
index de5e4f2..df8e981 100644
fs/btrfs/btrfs_inode.h +1
-0@@ -15,11 +15,13 @@* Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 021110-1307, USA. */ +#pragma once#ifndef __BTRFS_I__#define __BTRFS_I__
the pragmas are not used in kernel AFAIK, the ifndef right below the line serves the exact purpose.