[PATCH 32/49] xfs: xfs_filestreams.h doesn't need __KERNEL__
Dave Chinner
david at fromorbit.com
Fri Jul 19 01:25:03 CDT 2013
From: Dave Chinner <dchinner at redhat.com>
Because it is only used within the kernel.
Signed-off-by: Dave Chinner <dchinner at redhat.com>
---
fs/xfs/xfs_filestream.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/fs/xfs/xfs_filestream.h b/fs/xfs/xfs_filestream.h
index 09dd9af..6d61dbe 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__ */
--
1.8.3.2
More information about the xfs
mailing list