diff options
author | Xiubo Li <xiubli@redhat.com> | 2024-02-22 04:22:43 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2024-03-19 16:35:55 +0300 |
commit | 825b82f6b82aa38dbb771d24e135152012500e51 (patch) | |
tree | 0e8cc011cb756cf30aa6a5eeda0ce11d14e961a7 /drivers | |
parent | 1065da21e5df9d843d2c5165d5d576be000142a6 (diff) | |
download | linux-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