summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vnode.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2014-08-04 05:28:20 +0200
committerDave Chinner <david@fromorbit.com>2014-08-04 05:28:20 +0200
commitb92cc59f69537f26d5a42e4171ccc864ae4d9383 (patch)
treedfa9616f94c4e6ed1f002275060fbf76c3f855f4 /fs/xfs/xfs_vnode.h
parentxfs: kill VN_MAPPED (diff)
downloadlinux-b92cc59f69537f26d5a42e4171ccc864ae4d9383.tar.xz
linux-b92cc59f69537f26d5a42e4171ccc864ae4d9383.zip
xfs: kill xfs_vnode.h
Move the IO flag definitions to xfs_inode.h and kill the header file as it is now empty. Removing the xfs_vnode.h file showed up an implicit header include path: xfs_linux.h -> xfs_vnode.h -> xfs_fs.h And so every xfs header file has been inplicitly been including xfs_fs.h where it is needed or not. Hence the removal of xfs_vnode.h causes all sorts of build issues because BBTOB() and friends are no longer automatically included in the build. This also gets fixed. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_vnode.h')
-rw-r--r--fs/xfs/xfs_vnode.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/fs/xfs/xfs_vnode.h b/fs/xfs/xfs_vnode.h
deleted file mode 100644
index 300725dc3626..000000000000
--- a/fs/xfs/xfs_vnode.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (c) 2000-2005 Silicon Graphics, Inc.
- * All Rights Reserved.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-#ifndef __XFS_VNODE_H__
-#define __XFS_VNODE_H__
-
-#include "xfs_fs.h"
-
-struct file;
-struct xfs_inode;
-struct attrlist_cursor_kern;
-
-/*
- * Flags for read/write calls - same values as IRIX
- */
-#define IO_ISDIRECT 0x00004 /* bypass page cache */
-#define IO_INVIS 0x00020 /* don't update inode timestamps */
-
-#define XFS_IO_FLAGS \
- { IO_ISDIRECT, "DIRECT" }, \
- { IO_INVIS, "INVIS"}
-
-#endif /* __XFS_VNODE_H__ */