summaryrefslogtreecommitdiffstats
path: root/fs/freevxfs/vxfs.h
diff options
context:
space:
mode:
authorChristoph Hellwig2016-06-01 08:44:45 +0200
committerChristoph Hellwig2016-06-01 09:23:24 +0200
commit2f137e31e07118bead0d17ccc89b0e71aec74732 (patch)
treef7ac2621f116e5290730730b5f58db991acb65fc /fs/freevxfs/vxfs.h
parentfreevxfs: avoid the need for forward declaring the super operations (diff)
downloadkernel-qcow2-linux-2f137e31e07118bead0d17ccc89b0e71aec74732.tar.gz
kernel-qcow2-linux-2f137e31e07118bead0d17ccc89b0e71aec74732.tar.xz
kernel-qcow2-linux-2f137e31e07118bead0d17ccc89b0e71aec74732.zip
freevxfs: implement ->alloc_inode and ->destroy_inode
This driver predates those methods and was trying to be clever allocating it's own private data. Switch to the generic scheme used by other file systems. Based on an earlier patch from Krzysztof Błaszkowski <kb@sysmikro.com.pl>. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/freevxfs/vxfs.h')
-rw-r--r--fs/freevxfs/vxfs.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/freevxfs/vxfs.h b/fs/freevxfs/vxfs.h
index 4b561ded5eb1..f52f259aacb3 100644
--- a/fs/freevxfs/vxfs.h
+++ b/fs/freevxfs/vxfs.h
@@ -272,13 +272,6 @@ enum {
#define VXFS_ISIMMED(ip) VXFS_IS_ORG((ip), VXFS_ORG_IMMED)
#define VXFS_ISTYPED(ip) VXFS_IS_ORG((ip), VXFS_ORG_TYPED)
-
-/*
- * Get filesystem private data from VFS inode.
- */
-#define VXFS_INO(ip) \
- ((struct vxfs_inode_info *)(ip)->i_private)
-
/*
* Get filesystem private data from VFS superblock.
*/