Skip to content

Commit 3fe4076

Browse files
SlarkXiaogregkh
authored andcommitted
kernfs: Fix typo 'the the' in comment
Replace 'the the' with 'the' in the comment. Signed-off-by: Slark Xiao <slark_xiao@163.com> Link: https://lore.kernel.org/r/20220722100518.79741-1-slark_xiao@163.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 321eaf3 commit 3fe4076

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/kernfs/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ static ssize_t kernfs_fop_read_iter(struct kiocb *iocb, struct iov_iter *iter)
307307
* There is no easy way for us to know if userspace is only doing a partial
308308
* write, so we don't support them. We expect the entire buffer to come on
309309
* the first write. Hint: if you're writing a value, first read the file,
310-
* modify only the the value you're changing, then write entire buffer
310+
* modify only the value you're changing, then write entire buffer
311311
* back.
312312
*/
313313
static ssize_t kernfs_fop_write_iter(struct kiocb *iocb, struct iov_iter *iter)

0 commit comments

Comments
 (0)