summaryrefslogtreecommitdiff
path: root/drivers/acpi/pmic/intel_pmic.c
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-07-19 17:15:24 +0300
committerIlya Dryomov <idryomov@gmail.com>2018-08-02 22:33:27 +0300
commit719784ba706cdbb47ef87483950f0a4594d36e87 (patch)
tree98ebbab08cb3fda315435011ad517effcc08956e /drivers/acpi/pmic/intel_pmic.c
parentf1d10e04637924f2b00a0fecdd2ca4565f5cfc3f (diff)
downloadlinux-719784ba706cdbb47ef87483950f0a4594d36e87.tar.xz
ceph: add new field max_file_size in ceph_fs_client
In order to not bother to VFS and other specific filesystems, we decided to do offset validation inside ceph kernel client, so just simply set sb->s_maxbytes to MAX_LFS_FILESIZE so that it can successfully pass VFS check. We add new field max_file_size in ceph_fs_client to store real file size limit and doing proper check based on it. Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'drivers/acpi/pmic/intel_pmic.c')
0 files changed, 0 insertions, 0 deletions