lkml.org 
[lkml]   [2015]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kernel:acct - Fix typos in comment to file header.
On 05/22/15 22:09, Shailendra Verma wrote:
> Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
> ---
> kernel/acct.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/acct.c b/kernel/acct.c
> index 74963d1..fa972fa 100644
> --- a/kernel/acct.c
> +++ b/kernel/acct.c
> @@ -24,8 +24,8 @@
> * Now we silently close acct_file on attempt to reopen. Cleaned sys_acct().
> * XTerms and EMACS are manifestations of pure evil. 21/10/98, AV.
> *
> - * Fixed a nasty interaction with with sys_umount(). If the accointing
> - * was suspeneded we failed to stop it on umount(). Messy.
> + * Fixed a nasty interaction with with sys_umount(). If the accounting

You can also drop one of the double "with with" words.

> + * was suspended we failed to stop it on umount(). Messy.
> * Another one: remount to readonly didn't stop accounting.
> * Question: what should we do if we have CAP_SYS_ADMIN but not
> * CAP_SYS_PACCT? Current code does the following: umount returns -EBUSY
>


--
~Randy


\
 
 \ /
  Last update: 2015-05-29 02:21    [W:0.038 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site