projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ceph: ceph_get_parent() can be static
[firefly-linux-kernel-4.4.55.git]
/
fs
/
ceph
/
export.c
diff --git
a/fs/ceph/export.c
b/fs/ceph/export.c
index 00d6af6a32ec9a37f204705da091122e7ddd7151..8d7d782f43822d2fd29b1f6fe941093ff7e247d3 100644
(file)
--- a/
fs/ceph/export.c
+++ b/
fs/ceph/export.c
@@
-169,7
+169,7
@@
static struct dentry *__get_parent(struct super_block *sb,
return dentry;
}
-struct dentry *ceph_get_parent(struct dentry *child)
+st
atic st
ruct dentry *ceph_get_parent(struct dentry *child)
{
/* don't re-export snaps */
if (ceph_snap(child->d_inode) != CEPH_NOSNAP)