lkml.org 
[lkml]   [2021]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] ipc/shm.c: Fix a typo
From
Date
On 3/21/21 6:32 PM, Bhaskar Chowdhury wrote:
>
> s/exit\'ed/exited/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
> ---
> ipc/shm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ipc/shm.c b/ipc/shm.c
> index febd88daba8c..07fb04c20d8c 100644
> --- a/ipc/shm.c
> +++ b/ipc/shm.c
> @@ -357,7 +357,7 @@ static int shm_try_destroy_orphaned(int id, void *p, void *data)
>
> /*
> * We want to destroy segments without users and with already
> - * exit'ed originating process.
> + * exited originating process.
> *
> * As shp->* are changed under rwsem, it's safe to skip shp locking.
> */
> --

I think this one could go either way.
It's referring to the exit() library call or syscall,
so it's not so bad is it currently is.

I.e., I'll leave it up to someone else if they want to merge it.

--
~Randy

\
 
 \ /
  Last update: 2021-03-22 02:38    [W:0.024 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site