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>
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user