projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b660a7
)
ceph: ceph_get_parent() can be static
author
Fengguang Wu
<fengguang.wu@intel.com>
Wed, 9 Apr 2014 06:11:31 +0000
(14:11 +0800)
committer
Yan, Zheng
<zheng.z.yan@intel.com>
Fri, 6 Jun 2014 01:29:50 +0000
(09:29 +0800)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Yan, Zheng <zheng.z.yan@intel.com>
fs/ceph/export.c
patch
|
blob
|
history
diff --git
a/fs/ceph/export.c
b/fs/ceph/export.c
index
00d6af6
..
8d7d782
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)