include: linux: Fix a typo in the file fs.h
PATCH 1/1 include: linux: Fix a typo in the file fs.h
s/varous/various/
Signed-off-by Bhaskar Chowdhury <[email protected]>
--- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/fs.h +1 -1
@@ -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
Quoted 21 lines · Bhaskar Chowdhury
s/varous/various/
Signed-off-by Bhaskar Chowdhury <[email protected]>--- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/fs.h +1
-2@@ -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 --
Quoted 2 lines
2.26.2
How about a few more?
found by running:
codespell -w -i 3 include/linux/fs.h
'specialy' could be 'special' or 'specialty'
it can be dropped altogether IMO, so I did.
--Tom
include/linux/fs.h +2 -2
@@ -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
Quoted 27 lines · Tom Saeger
Quoted 21 lines · Bhaskar Chowdhury
s/varous/various/
Signed-off-by Bhaskar Chowdhury <[email protected]>--- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/fs.h +1
-2@@ -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 -- Quoted 2 lines
2.26.2
How about a few more?
Quoted 3 lines
found by running:
codespell -w -i 3include/linux/fs.h
Never bother to use that tool...not sure ...
Quoted 27 lines
'specialy' could be 'special' or 'specialty'
it can be dropped altogether IMO, so I did.--Tom
include/linux/fs.h +2
-2@@ -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