Re: How to do Header Dependency Check Properly for Kernel Patch

From: David Sterba
Date: Fri Mar 27 2015 - 12:44:23 EST


On Thu, Mar 26, 2015 at 07:45:07PM -0400, nick wrote:
> 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

> index de5e4f2..df8e981 100644
> --- a/fs/btrfs/btrfs_inode.h
> +++ b/fs/btrfs/btrfs_inode.h
> @@ -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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/