summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
authorLuis Henriques <lhenriques@suse.com>2018-01-05 05:47:21 -0500
committerIlya Dryomov <idryomov@gmail.com>2018-04-02 05:17:52 -0400
commit2b83845f8bd711e66e1c367a9bd56c9df3410236 (patch)
treeb2f750e237d72cc4bd2ffe80ef427ac4116d40e3 /fs/ceph/super.h
parentcafe21a4fb3075fb2980caba8fdb533a1bdb52b0 (diff)
ceph: quota: support for ceph.quota.max_bytes
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index eea6f70f3bf9..5870c225c2fc 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -1079,5 +1079,7 @@ extern void ceph_handle_quota(struct ceph_mds_client *mdsc,
1079 struct ceph_msg *msg); 1079 struct ceph_msg *msg);
1080extern bool ceph_quota_is_max_files_exceeded(struct inode *inode); 1080extern bool ceph_quota_is_max_files_exceeded(struct inode *inode);
1081extern bool ceph_quota_is_same_realm(struct inode *old, struct inode *new); 1081extern bool ceph_quota_is_same_realm(struct inode *old, struct inode *new);
1082extern bool ceph_quota_is_max_bytes_exceeded(struct inode *inode,
1083 loff_t newlen);
1082 1084
1083#endif /* _FS_CEPH_SUPER_H */ 1085#endif /* _FS_CEPH_SUPER_H */