All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@primarydata.com>
To: trond.myklebust@primarydata.com
Cc: linux-nfs@vger.kernel.org, Thomas Haynes <thomas.haynes@primarydata.com>
Subject: [PATCH] nfs: guard fs/nfs/internal.h against multiple inclusion
Date: Fri, 12 Dec 2014 09:50:18 -0500	[thread overview]
Message-ID: <1418395818-22062-1-git-send-email-jlayton@primarydata.com> (raw)

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Cc: Thomas Haynes <thomas.haynes@primarydata.com>
---
 fs/nfs/internal.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index efaa31c70fbe..ffef459f0b4f 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -1,6 +1,8 @@
 /*
  * NFS internal definitions
  */
+#ifndef	__FS_NFS_INTERNAL_H
+#define __FS_NFS_INTERNAL_H
 
 #include "nfs4_fs.h"
 #include <linux/mount.h>
@@ -629,3 +631,5 @@ static inline u32 nfs_fhandle_hash(const struct nfs_fh *fh)
 	return 0;
 }
 #endif
+
+#endif	/* __FS_NFS_INTERNAL_H */
-- 
2.1.0


             reply	other threads:[~2014-12-12 14:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-12 14:50 Jeff Layton [this message]
2014-12-12 14:58 ` [PATCH] nfs: guard fs/nfs/internal.h against multiple inclusion Jeff Layton
2014-12-12 15:50   ` Trond Myklebust
2014-12-12 18:58     ` Trond Myklebust
2014-12-12 19:00       ` Jeff Layton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1418395818-22062-1-git-send-email-jlayton@primarydata.com \
    --to=jlayton@primarydata.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=thomas.haynes@primarydata.com \
    --cc=trond.myklebust@primarydata.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.