Xiubo Li 825b82f6b8 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>
2024-03-19 14:35:55 +01:00
..
2023-11-03 23:28:34 +01:00
2023-11-10 09:52:56 -08:00
2023-08-22 09:01:48 +02:00
2023-11-10 09:52:56 -08:00
2022-03-01 18:26:37 +01:00
2023-11-10 09:52:56 -08:00