bool open_file_mode_is_readonly() { return file_mode_is_readonly(ceph_flags_to_mode(head.args.open.flags)); }*/
| 193 | return file_mode_is_readonly(ceph_flags_to_mode(head.args.open.flags)); |
| 194 | }*/ |
| 195 | bool may_write() const { |
| 196 | return |
| 197 | (head.op & CEPH_MDS_OP_WRITE) || |
| 198 | (head.op == CEPH_MDS_OP_OPEN && (head.args.open.flags & (O_CREAT|O_TRUNC))); |
| 199 | } |
| 200 | |
| 201 | int get_flags() const { |
| 202 | return head.flags; |
no outgoing calls
no test coverage detected