diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-08-07 18:53:44 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-08-07 18:53:44 -0700 |
commit | fb385003c4ac9634cf2448f6ded81e5fd1190c1f (patch) | |
tree | 3a6068559cef144c04b96372ee0eecf20dfb108b /fs/xfs/xfs_inode.h | |
parent | 36b8659f9316b24c514a7c8290596b2382b91dd2 (diff) | |
parent | b36ec0428a06fcbdb67d61e9e664154e5dd9a8c7 (diff) | |
download | kernel-crypto-fb385003c4ac9634cf2448f6ded81e5fd1190c1f.tar.gz kernel-crypto-fb385003c4ac9634cf2448f6ded81e5fd1190c1f.tar.xz kernel-crypto-fb385003c4ac9634cf2448f6ded81e5fd1190c1f.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/hch/xfs-icache-races
* git://git.kernel.org/pub/scm/linux/kernel/git/hch/xfs-icache-races:
xfs: fix freeing of inodes not yet added to the inode cache
vfs: add __destroy_inode
vfs: fix inode_init_always calling convention
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index 1804f866a71..65f24a3cc99 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h @@ -310,23 +310,6 @@ static inline struct inode *VFS_I(struct xfs_inode *ip) } /* - * Get rid of a partially initialized inode. - * - * We have to go through destroy_inode to make sure allocations - * from init_inode_always like the security data are undone. - * - * We mark the inode bad so that it takes the short cut in - * the reclaim path instead of going through the flush path - * which doesn't make sense for an inode that has never seen the - * light of day. - */ -static inline void xfs_destroy_inode(struct xfs_inode *ip) -{ - make_bad_inode(VFS_I(ip)); - return destroy_inode(VFS_I(ip)); -} - -/* * i_flags helper functions */ static inline void |