Skip to contentSkip to conversation

fork: Use helper function mapping_allow_writable() in dup_mmap()

PATCH linmiaohe 1 participant 1 message Sep 16, 2020

lore
Share & tools
lore

linmiaohe

author
#0 lore raw
Quoted 12 lines · Christian Brauner
Quoted 4 lines · Miaohe Lin

Use helper function mapping_allow_writable() to atomic_inc i_mmap_writable.

---

Hey Miaohe,

Thanks for the patch!
Per se there's nothing against using a proper helper when it exists.
But it has already been pointed out that this needs a proper commit message with more rationale. But I'm otherwise happy to take this.

Many thanks for your reply.
Eric have kindly pointed this out. I think I should provide a proper commit message with more rationale in v2. Thanks again.

Quoted 2 lines

Thanks!
Christian