Cleanup #660
closed
mds: use helpers in mknod, mkdir, openc paths
Added by Sage Weil over 13 years ago.
Updated over 7 years ago.
Description
Lots of not-quite-duplicate code here that can be cleaned up
- Target version changed from v0.25 to 19
- Translation missing: en.field_position set to 383
- Target version deleted (
19)
- Project changed from Ceph to CephFS
- Category deleted (
1)
- Translation missing: en.field_position deleted (
1001)
- Translation missing: en.field_position set to 3
What kind of helpers are you talking about with this? inode fetchers and lock grabbers? In a quick scan over handle_client_mknod and handle_client_mkdir I don't see anything larger than about 3 lines that's the same, and the interface handling to make function calls around that would be about 3 lines on its own...
- Category set to Code Hygiene
- Status changed from New to Closed
Also available in: Atom
PDF