diff options
Diffstat (limited to 'fs/inode.c')
-rw-r--r-- | fs/inode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/inode.c b/fs/inode.c index 1f9a3a2b89bc..6d695037a0a3 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
@@ -1052,7 +1052,7 @@ static void generic_forget_inode(struct inode *inode) | |||
1052 | * inode when the usage count drops to zero, and | 1052 | * inode when the usage count drops to zero, and |
1053 | * i_nlink is zero. | 1053 | * i_nlink is zero. |
1054 | */ | 1054 | */ |
1055 | static void generic_drop_inode(struct inode *inode) | 1055 | void generic_drop_inode(struct inode *inode) |
1056 | { | 1056 | { |
1057 | if (!inode->i_nlink) | 1057 | if (!inode->i_nlink) |
1058 | generic_delete_inode(inode); | 1058 | generic_delete_inode(inode); |
@@ -1060,6 +1060,8 @@ static void generic_drop_inode(struct inode *inode) | |||
1060 | generic_forget_inode(inode); | 1060 | generic_forget_inode(inode); |
1061 | } | 1061 | } |
1062 | 1062 | ||
1063 | EXPORT_SYMBOL_GPL(generic_drop_inode); | ||
1064 | |||
1063 | /* | 1065 | /* |
1064 | * Called when we're dropping the last reference | 1066 | * Called when we're dropping the last reference |
1065 | * to an inode. | 1067 | * to an inode. |