[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220730091838.3102337-1-studentxswpy@163.com>
Date: Sat, 30 Jul 2022 17:18:38 +0800
From: studentxswpy@....com
To: devel@...ts.orangefs.org, linux-kernel@...r.kernel.org
Cc: hubcap@...ibond.com, martin@...ibond.com,
Xie Shaowen <studentxswpy@....com>,
Hacash Robot <hacashRobot@...tino.com>
Subject: [PATCH -next] orangefs: Fix spelling mistakes and cleanup code
From: Xie Shaowen <studentxswpy@....com>
fix follow spelling misktakes:
futher ==> further
overriden ==> overridden
Alloced ==> Allocated
Reported-by: Hacash Robot <hacashRobot@...tino.com>
Signed-off-by: Xie Shaowen <studentxswpy@....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
Powered by blists - more mailing lists