diff options
Diffstat (limited to 'fs/dcache.c')
-rw-r--r-- | fs/dcache.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/fs/dcache.c b/fs/dcache.c index 89509b5a090e..ba960051dfb7 100644 --- a/fs/dcache.c +++ b/fs/dcache.c | |||
@@ -1471,7 +1471,14 @@ static struct dentry * __d_find_any_alias(struct inode *inode) | |||
1471 | return alias; | 1471 | return alias; |
1472 | } | 1472 | } |
1473 | 1473 | ||
1474 | static struct dentry * d_find_any_alias(struct inode *inode) | 1474 | /** |
1475 | * d_find_any_alias - find any alias for a given inode | ||
1476 | * @inode: inode to find an alias for | ||
1477 | * | ||
1478 | * If any aliases exist for the given inode, take and return a | ||
1479 | * reference for one of them. If no aliases exist, return %NULL. | ||
1480 | */ | ||
1481 | struct dentry *d_find_any_alias(struct inode *inode) | ||
1475 | { | 1482 | { |
1476 | struct dentry *de; | 1483 | struct dentry *de; |
1477 | 1484 | ||
@@ -1480,7 +1487,7 @@ static struct dentry * d_find_any_alias(struct inode *inode) | |||
1480 | spin_unlock(&inode->i_lock); | 1487 | spin_unlock(&inode->i_lock); |
1481 | return de; | 1488 | return de; |
1482 | } | 1489 | } |
1483 | 1490 | EXPORT_SYMBOL(d_find_any_alias); | |
1484 | 1491 | ||
1485 | /** | 1492 | /** |
1486 | * d_obtain_alias - find or allocate a dentry for a given inode | 1493 | * d_obtain_alias - find or allocate a dentry for a given inode |