Messages in this thread | | | Date | Thu, 28 May 2015 17:11:34 -0700 | From | Randy Dunlap <> | Subject | Re: [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
| |