diff --git a/[refs] b/[refs] index cf83e7c3bf59..26eb0a4afb22 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ca3f5a95b7d04eef0f88464f8d3299c1c01e8e13 +refs/heads/master: cb2c0233755429037462e16ea0d5497a0092738c diff --git a/trunk/fs/inode.c b/trunk/fs/inode.c index 1f9a3a2b89bc..6d695037a0a3 100644 --- a/trunk/fs/inode.c +++ b/trunk/fs/inode.c @@ -1052,7 +1052,7 @@ static void generic_forget_inode(struct inode *inode) * inode when the usage count drops to zero, and * i_nlink is zero. */ -static void generic_drop_inode(struct inode *inode) +void generic_drop_inode(struct inode *inode) { if (!inode->i_nlink) generic_delete_inode(inode); @@ -1060,6 +1060,8 @@ static void generic_drop_inode(struct inode *inode) generic_forget_inode(inode); } +EXPORT_SYMBOL_GPL(generic_drop_inode); + /* * Called when we're dropping the last reference * to an inode. diff --git a/trunk/include/linux/fs.h b/trunk/include/linux/fs.h index 047bde30836a..302ec20838ca 100644 --- a/trunk/include/linux/fs.h +++ b/trunk/include/linux/fs.h @@ -1435,6 +1435,7 @@ extern struct inode * igrab(struct inode *); extern ino_t iunique(struct super_block *, ino_t); extern int inode_needs_sync(struct inode *inode); extern void generic_delete_inode(struct inode *inode); +extern void generic_drop_inode(struct inode *inode); extern struct inode *ilookup5(struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), void *data);