[PATCH] fs: btrfs: Fix typo in error message

%s/occured/occurred/
Signed-off-by: Naoki Hayama naoki.hayama@lineo.co.jp ---
fs/btrfs/btrfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/btrfs.c b/fs/btrfs/btrfs.c index cbf9dcffeb..e48972ffa2 100644 --- a/fs/btrfs/btrfs.c +++ b/fs/btrfs/btrfs.c @@ -150,7 +150,7 @@ int btrfs_ls(const char *path) } ret = btrfs_iter_dir(root, ino, show_dir); if (ret < 0) { - error("An error occured while listing directory %s", path); + error("An error occurred while listing directory %s", path); return ret; } return 0; @@ -257,7 +257,7 @@ int btrfs_read(const char *file, void *buf, loff_t offset, loff_t len,
ret = btrfs_file_read(root, ino, offset, len, buf); if (ret < 0) { - error("An error occured while reading file %s", file); + error("An error occurred while reading file %s", file); return ret; }

On 2020/10/12 下午5:35, Naoki Hayama wrote:
%s/occured/occurred/
Signed-off-by: Naoki Hayama naoki.hayama@lineo.co.jp
I'm definitely not the best guy to review, but this still looks good to me.
Reviewed-by: Qu Wenruo wqu@suse.com
BTW, if you're still looking into the spell problems, it would be better to put all of the typo fixes into a big patch.
Thanks, Qu
fs/btrfs/btrfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/btrfs.c b/fs/btrfs/btrfs.c index cbf9dcffeb..e48972ffa2 100644 --- a/fs/btrfs/btrfs.c +++ b/fs/btrfs/btrfs.c @@ -150,7 +150,7 @@ int btrfs_ls(const char *path) } ret = btrfs_iter_dir(root, ino, show_dir); if (ret < 0) {
error("An error occured while listing directory %s", path);
return ret; } return 0;error("An error occurred while listing directory %s", path);
@@ -257,7 +257,7 @@ int btrfs_read(const char *file, void *buf, loff_t offset, loff_t len,
ret = btrfs_file_read(root, ino, offset, len, buf); if (ret < 0) {
error("An error occured while reading file %s", file);
return ret; }error("An error occurred while reading file %s", file);

Dear Qu,
On 2020/10/12 20:03, Qu Wenruo wrote:
On 2020/10/12 下午5:35, Naoki Hayama wrote:
%s/occured/occurred/
Signed-off-by: Naoki Hayama naoki.hayama@lineo.co.jp
I'm definitely not the best guy to review, but this still looks good to me.
Reviewed-by: Qu Wenruo wqu@suse.com
BTW, if you're still looking into the spell problems, it would be better to put all of the typo fixes into a big patch.
Thank you for the review and the advice. Next time I fix typos extensively, I will do so.
Best regards, Naoki Hayama
fs/btrfs/btrfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/btrfs.c b/fs/btrfs/btrfs.c index cbf9dcffeb..e48972ffa2 100644 --- a/fs/btrfs/btrfs.c +++ b/fs/btrfs/btrfs.c @@ -150,7 +150,7 @@ int btrfs_ls(const char *path) } ret = btrfs_iter_dir(root, ino, show_dir); if (ret < 0) {
error("An error occured while listing directory %s", path);
return ret; } return 0;error("An error occurred while listing directory %s", path);
@@ -257,7 +257,7 @@ int btrfs_read(const char *file, void *buf, loff_t offset, loff_t len,
ret = btrfs_file_read(root, ino, offset, len, buf); if (ret < 0) {
error("An error occured while reading file %s", file);
return ret; }error("An error occurred while reading file %s", file);

On Mon, Oct 12, 2020 at 06:35:33PM +0900, Naoki Hayama wrote:
%s/occured/occurred/
Signed-off-by: Naoki Hayama naoki.hayama@lineo.co.jp Reviewed-by: Marek Behún kabel@kernel.org Reviewed-by: Qu Wenruo wqu@suse.com
Applied to u-boot/master, thanks!
participants (4)
-
Marek Behún
-
Naoki Hayama
-
Qu Wenruo
-
Tom Rini