diff options
author | Luis Henriques <lhenriques@suse.com> | 2018-01-05 11:47:21 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-04-02 11:17:52 +0200 |
commit | 2b83845f8bd711e66e1c367a9bd56c9df3410236 (patch) | |
tree | b2f750e237d72cc4bd2ffe80ef427ac4116d40e3 /fs/ceph/super.h | |
parent | ceph: quota: don't allow cross-quota renames (diff) | |
download | linux-2b83845f8bd711e66e1c367a9bd56c9df3410236.tar.xz linux-2b83845f8bd711e66e1c367a9bd56c9df3410236.zip |
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.h | 2 |
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, struct ceph_msg *msg); extern bool ceph_quota_is_max_files_exceeded(struct inode *inode); extern bool ceph_quota_is_same_realm(struct inode *old, struct inode *new); +extern bool ceph_quota_is_max_bytes_exceeded(struct inode *inode, + loff_t newlen); #endif /* _FS_CEPH_SUPER_H */ |