Re: [PATCH] fork: Use helper function mapping_allow_writable() in dup_mmap()
Date
Mon, 14 Sep 2020 01:38:24 +0000
Eric W. Biederman <ebiederm@xmission.com> wrote: > Miaohe Lin <linmiaohe@huawei.com> writes: > >> Use helper function mapping_allow_writable() to atomic_inc >> i_mmap_writable. > >Why? >
Because I think it's better to use the wrapper function instead of the open hard code. Thanks.