summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2024-02-22 04:22:43 +0300
committerIlya Dryomov <idryomov@gmail.com>2024-03-19 16:35:55 +0300
commit825b82f6b82aa38dbb771d24e135152012500e51 (patch)
tree0e8cc011cb756cf30aa6a5eeda0ce11d14e961a7 /drivers
parent1065da21e5df9d843d2c5165d5d576be000142a6 (diff)
downloadlinux-825b82f6b82aa38dbb771d24e135152012500e51.tar.xz
ceph: set correct cap mask for getattr request for read
In case of hitting the file EOF, ceph_read_iter() needs to retrieve the file size from MDS, and Fr caps aren't neccessary. [ idryomov: fold into existing retry_op == READ_INLINE branch ] Reported-by: Frank Hsiao <frankhsiao@qnap.com> Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Tested-by: Frank Hsiao <frankhsiao@qnap.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions