summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_filestream.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-08-12 12:49:53 +0200
committerBen Myers <bpm@sgi.com>2013-08-13 00:00:11 +0200
commit9b90b0d9da907a1810e7b7764befaf084e4cd45b (patch)
treef98a364537bddf74febbec01b300696f1bc0810b /fs/xfs/xfs_filestream.h
parentxfs: remove __KERNEL__ check from xfs_dir2_leaf.c (diff)
downloadlinux-9b90b0d9da907a1810e7b7764befaf084e4cd45b.tar.xz
linux-9b90b0d9da907a1810e7b7764befaf084e4cd45b.zip
xfs: xfs_filestreams.h doesn't need __KERNEL__
Because it is only used within the kernel. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_filestream.h')
-rw-r--r--fs/xfs/xfs_filestream.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/xfs_filestream.h b/fs/xfs/xfs_filestream.h
index 09dd9af45434..6d61dbee8564 100644
--- a/fs/xfs/xfs_filestream.h
+++ b/fs/xfs/xfs_filestream.h
@@ -18,8 +18,6 @@
#ifndef __XFS_FILESTREAM_H__
#define __XFS_FILESTREAM_H__
-#ifdef __KERNEL__
-
struct xfs_mount;
struct xfs_inode;
struct xfs_perag;
@@ -69,6 +67,4 @@ xfs_inode_is_filestream(
(ip->i_d.di_flags & XFS_DIFLAG_FILESTREAM);
}
-#endif /* __KERNEL__ */
-
#endif /* __XFS_FILESTREAM_H__ */