diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-02-12 19:43:17 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-20 21:29:33 -0400 |
commit | 9bcb4b733c22b7dbc4cf847e707ac98f751e9180 (patch) | |
tree | f99c68d0b7d049d7a25706d23f224c734d0e1da1 /fs | |
parent | e28e832c3e1e1197873cfd0b6ce86868cf5c391d (diff) | |
download | op-kernel-dev-9bcb4b733c22b7dbc4cf847e707ac98f751e9180.zip op-kernel-dev-9bcb4b733c22b7dbc4cf847e707ac98f751e9180.tar.gz |
vfs: turn generic_drop_inode() into static inline
Once upon a time it used to be much bigger, but these days there's
no point whatsoever keeping it in fs/inode.c, especially since
it's not even needed as initializer for ->drop_inode() - it's the
default and leaving ->drop_inode NULL will do just as well.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/inode.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -1369,17 +1369,6 @@ int generic_delete_inode(struct inode *inode) EXPORT_SYMBOL(generic_delete_inode); /* - * Normal UNIX filesystem behaviour: delete the - * inode when the usage count drops to zero, and - * i_nlink is zero. - */ -int generic_drop_inode(struct inode *inode) -{ - return !inode->i_nlink || inode_unhashed(inode); -} -EXPORT_SYMBOL_GPL(generic_drop_inode); - -/* * Called when we're dropping the last reference * to an inode. * |