]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/ceph/super.h
ceph: quota: support for ceph.quota.max_bytes
[mirror_ubuntu-bionic-kernel.git] / fs / ceph / super.h
index 54e7f2ed89635ebd1582c9b64905aea5d7dd4a3c..fb1119147a688d16548849be8f3aeb65de00a229 100644 (file)
@@ -1080,5 +1080,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 */