From: Bhaskar Chowdhury <unixbhaskar@gmail.com>
To: Tom Saeger <tom.saeger@oracle.com>
Cc: viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org, rdunlap@infradead.org
Subject: Re: [PATCH] include: linux: Fix a typo in the file fs.h
Date: Sat, 13 Mar 2021 11:44:53 +0530 [thread overview]
Message-ID: <YExYXfZKXrwJ5gdX@Gentoo> (raw)
In-Reply-To: <20210313060622.dwfiejfxz5bpembl@brm-x62-17.us.oracle.com>
[-- Attachment #1: Type: text/plain, Size: 2150 bytes --]
On 23:06 Fri 12 Mar 2021, Tom Saeger wrote:
>On Sat, Mar 13, 2021 at 10:49:55AM +0530, Bhaskar Chowdhury wrote:
>> s/varous/various/
>>
>> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
>> ---
>> include/linux/fs.h | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/include/linux/fs.h b/include/linux/fs.h
>> index ec8f3ddf4a6a..c37a17c32d74 100644
>> --- a/include/linux/fs.h
>> +++ b/include/linux/fs.h
>> @@ -1051,7 +1051,7 @@ bool opens_in_grace(struct net *);
>> * FIXME: should we create a separate "struct lock_request" to help distinguish
>> * these two uses?
>> *
>> - * The varous i_flctx lists are ordered by:
>> + * The various i_flctx lists are ordered by:
>> *
>> * 1) lock owner
>> * 2) lock range start
>> --
>> 2.26.2
>>
>
>How about a few more?
>
>found by running:
>codespell -w -i 3 include/linux/fs.h
>
Never bother to use that tool...not sure ...
>'specialy' could be 'special' or 'specialty'
>it can be dropped altogether IMO, so I did.
>
>--Tom
>
>diff --git a/include/linux/fs.h b/include/linux/fs.h
>index c37a17c32d74..9ffea695a059 100644
>--- a/include/linux/fs.h
>+++ b/include/linux/fs.h
>@@ -126,7 +126,7 @@ typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
> /* File is opened with O_EXCL (only set for block devices) */
> #define FMODE_EXCL ((__force fmode_t)0x80)
> /* File is opened using open(.., 3, ..) and is writeable only for ioctls
>- (specialy hack for floppy.c) */
>+ (hack for floppy.c) */
> #define FMODE_WRITE_IOCTL ((__force fmode_t)0x100)
> /* 32bit hashes as llseek() offset (for directories) */
> #define FMODE_32BITHASH ((__force fmode_t)0x200)
>@@ -819,7 +819,7 @@ void lock_two_nondirectories(struct inode *, struct inode*);
> void unlock_two_nondirectories(struct inode *, struct inode*);
>
> /*
>- * NOTE: in a 32bit arch with a preemptable kernel and
>+ * NOTE: in a 32bit arch with a preemptible kernel and
> * an UP compile the i_size_read/write must be atomic
> * with respect to the local cpu (unlike with preempt disabled),
> * but they don't need to be atomic with respect to other cpus like in
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2021-03-13 6:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-13 5:19 [PATCH] include: linux: Fix a typo in the file fs.h Bhaskar Chowdhury
2021-03-13 6:06 ` Tom Saeger
2021-03-13 6:14 ` Bhaskar Chowdhury [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YExYXfZKXrwJ5gdX@Gentoo \
--to=unixbhaskar@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=tom.saeger@oracle.com \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.