[PATCH -next] orangefs: Fix spelling mistakes and cleanup code
From: studentxswpy
Date: Sat Jul 30 2022 - 05:20:48 EST
From: Xie Shaowen <studentxswpy@xxxxxxx>
fix follow spelling misktakes:
futher ==> further
overriden ==> overridden
Alloced ==> Allocated
Reported-by: Hacash Robot <hacashRobot@xxxxxxxxxxx>
Signed-off-by: Xie Shaowen <studentxswpy@xxxxxxx>
---
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