aboutsummaryrefslogtreecommitdiffstats
path: root/fs/kernfs
diff options
context:
space:
mode:
authorSlark Xiao <slark_xiao@163.com>2022-07-22 18:05:18 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-28 10:57:25 +0200
commit3fe4076482789c2c4a772f6676b246a0d96c99c4 (patch)
tree27a2b89482066d38de2a3dcf4c168bcfba0396ab /fs/kernfs
parentdocs: driver-api: firmware: add driver firmware guidelines. (v3) (diff)
downloadlinux-dev-3fe4076482789c2c4a772f6676b246a0d96c99c4.tar.xz
linux-dev-3fe4076482789c2c4a772f6676b246a0d96c99c4.zip
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>
Diffstat (limited to 'fs/kernfs')
-rw-r--r--fs/kernfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/kernfs/file.c b/fs/kernfs/file.c
index baff4b1d40c7..b3ec34386b43 100644
--- a/fs/kernfs/file.c
+++ b/fs/kernfs/file.c
@@ -307,7 +307,7 @@ static ssize_t kernfs_fop_read_iter(struct kiocb *iocb, struct iov_iter *iter)
* There is no easy way for us to know if userspace is only doing a partial
* write, so we don't support them. We expect the entire buffer to come on
* the first write. Hint: if you're writing a value, first read the file,
- * modify only the the value you're changing, then write entire buffer
+ * modify only the value you're changing, then write entire buffer
* back.
*/
static ssize_t kernfs_fop_write_iter(struct kiocb *iocb, struct iov_iter *iter)