summaryrefslogtreecommitdiff
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
authorLuis Henriques <lhenriques@suse.com>2019-03-21 10:20:09 +0000
committerIlya Dryomov <idryomov@gmail.com>2019-05-07 19:22:36 +0200
commit3886274adf34a4e38417772e3d1c0b213380004e (patch)
treee72c79e8deac454d36538894e162694b02d2af3c /fs/ceph/super.h
parent1b52931ca9b5b87e237c591f99201b6254c00809 (diff)
downloadlwn-3886274adf34a4e38417772e3d1c0b213380004e.tar.gz
lwn-3886274adf34a4e38417772e3d1c0b213380004e.zip
ceph: factor out ceph_lookup_inode()
This function will be used by __fh_to_dentry and by the quotas code, to find quota realm inodes that are not visible in the mountpoint. Signed-off-by: Luis Henriques <lhenriques@suse.com> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r--fs/ceph/super.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index 16c03188578e..976f200164f9 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -1082,6 +1082,7 @@ extern long ceph_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
/* export.c */
extern const struct export_operations ceph_export_ops;
+struct inode *ceph_lookup_inode(struct super_block *sb, u64 ino);
/* locks.c */
extern __init void ceph_flock_init(void);