fs: btrfs: Fix typo in error message
PATCH 1/1 fs: btrfs: Fix typo in error message
%s/occured/occurred/
---
fs/btrfs/btrfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/btrfs/btrfs.c +2 -2
@@ -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; }
Signature · 1 line
2.17.1
PATCH 1/1 fs: btrfs: Fix typo in error message
PATCH 1/1 fs: btrfs: Fix typo in error message
In reply to Naoki HayamaQuoted 3 lines · Naoki Hayama
%s/occured/occurred/
Signed-off-by Naoki Hayama <[email protected]>
I'm definitely not the best guy to review, but this still looks good to me.
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
Quoted 28 lines
---
fs/btrfs/btrfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)fs/btrfs/btrfs.c +2
-2@@ -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; }
PATCH 1/1 fs: btrfs: Fix typo in error message
Dear Qu,
Quoted 5 lines · Qu Wenruo
Quoted 2 lines · Naoki Hayama
%s/occured/occurred/
Quoted 8 lines
Quoted 1 line
Signed-off-by Naoki Hayama <[email protected]>I'm definitely not the best guy to review, but this still looks good to me.
Reviewed-by Qu Wenruo <[email protected]>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
Quoted 29 lines
Quoted 28 lines
---
fs/btrfs/btrfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)fs/btrfs/btrfs.c +2
-2@@ -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; }
PATCH 1/1 fs: btrfs: Fix typo in error message
In reply to Naoki HayamaQuoted 5 lines · Naoki Hayama
%s/occured/occurred/
Signed-off-by Naoki Hayama <[email protected]>Reviewed-by Marek Beh?n <[email protected]>Reviewed-by Qu Wenruo <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201022/730b28de/attachment.sig>