lkml.org 
[lkml]   [2022]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] orangefs: Fix spelling mistakes and cleanup code
Date
From: Xie Shaowen <studentxswpy@163.com>

fix follow spelling misktakes:
futher ==> further
overriden ==> overridden
Alloced ==> Allocated

Reported-by: Hacash Robot <hacashRobot@santino.com>
Signed-off-by: Xie Shaowen <studentxswpy@163.com>
---
fs/orangefs/file.c | 2 +-
fs/orangefs/orangefs-cache.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/orangefs/file.c b/fs/orangefs/file.c
index 86810e5d7914..61a2bb0d78f5 100644
--- a/fs/orangefs/file.c
+++ b/fs/orangefs/file.c
@@ -244,7 +244,7 @@ ssize_t wait_for_direct_io(enum ORANGEFS_io_type type, struct inode *inode,
if (type == ORANGEFS_IO_READ && new_op->downcall.resp.io.amt_complete) {
/*
* NOTE: the iovector can either contain addresses which
- * can futher be kernel-space or user-space addresses.
+ * can further be kernel-space or user-space addresses.
* or it can pointers to struct page's
*/

diff --git a/fs/orangefs/orangefs-cache.c b/fs/orangefs/orangefs-cache.c
index 3b6982bf6bcf..8d32492876bf 100644
--- a/fs/orangefs/orangefs-cache.c
+++ b/fs/orangefs/orangefs-cache.c
@@ -134,7 +134,7 @@ struct orangefs_kernel_op_s *op_alloc(__s32 type)
new_op->upcall.type = type;
new_op->attempts = 0;
gossip_debug(GOSSIP_CACHE_DEBUG,
- "Alloced OP (%p: %llu %s)\n",
+ "Allocated OP (%p: %llu %s)\n",
new_op,
llu(new_op->tag),
get_opname_string(new_op));
--
2.25.1
\
 
 \ /
  Last update: 2022-07-30 11:21    [W:0.046 / U:1.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site