]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: compare fsc->max_file_size and inode->i_size for max file size limit
authorChengguang Xu <cgxu519@gmx.com>
Thu, 19 Jul 2018 14:15:27 +0000 (22:15 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 13 Aug 2018 15:55:43 +0000 (17:55 +0200)
commit90f26841426312d0652b1b12238c4be7cf086c01
tree50aa30146497e8ace171bbbbac5fbc50e2d9338a
parentf3369d7d756d87bd2cddb4723a5e77a995f7e3ae
ceph: compare fsc->max_file_size and inode->i_size for max file size limit

In ceph_llseek(), we compare fsc->max_file_size and inode->i_size to
choose max file size limit.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/file.c