| 370 | } |
| 371 | |
| 372 | int Inode::caps_wanted() |
| 373 | { |
| 374 | int want = caps_file_wanted() | caps_used(); |
| 375 | if (want & CEPH_CAP_FILE_BUFFER) |
| 376 | want |= CEPH_CAP_FILE_EXCL; |
| 377 | return want; |
| 378 | } |
| 379 | |
| 380 | int Inode::caps_mds_wanted() |
| 381 | { |
no outgoing calls
no test coverage detected