[PATCH] ubifs: Fix grammar in error message

Thorsten Blum posted 1 patch 9 months ago
There is a newer version of this series
fs/ubifs/journal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ubifs: Fix grammar in error message
Posted by Thorsten Blum 9 months ago
s/much/many/

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
 fs/ubifs/journal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ubifs/journal.c b/fs/ubifs/journal.c
index 36ba79fbd2ff..923c0bbff303 100644
--- a/fs/ubifs/journal.c
+++ b/fs/ubifs/journal.c
@@ -982,7 +982,7 @@ int ubifs_jnl_write_inode(struct ubifs_info *c, const struct inode *inode)
 	dbg_jnl("ino %lu, nlink %u", inode->i_ino, inode->i_nlink);
 
 	if (kill_xattrs && ui->xattr_cnt > ubifs_xattr_max_cnt(c)) {
-		ubifs_err(c, "Cannot delete inode, it has too much xattrs!");
+		ubifs_err(c, "Cannot delete inode, it has too many xattrs!");
 		err = -EPERM;
 		ubifs_ro_mode(c, err);
 		return err;
-- 
2.48.1
Re: [PATCH] ubifs: Fix grammar in error message
Posted by Zhihao Cheng 9 months ago
在 2025/3/19 0:25, Thorsten Blum 写道:
> s/much/many/
> 
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
> ---
>   fs/ubifs/journal.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Well, the commit message is too simple.

Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
> 
> diff --git a/fs/ubifs/journal.c b/fs/ubifs/journal.c
> index 36ba79fbd2ff..923c0bbff303 100644
> --- a/fs/ubifs/journal.c
> +++ b/fs/ubifs/journal.c
> @@ -982,7 +982,7 @@ int ubifs_jnl_write_inode(struct ubifs_info *c, const struct inode *inode)
>   	dbg_jnl("ino %lu, nlink %u", inode->i_ino, inode->i_nlink);
>   
>   	if (kill_xattrs && ui->xattr_cnt > ubifs_xattr_max_cnt(c)) {
> -		ubifs_err(c, "Cannot delete inode, it has too much xattrs!");
> +		ubifs_err(c, "Cannot delete inode, it has too many xattrs!");
>   		err = -EPERM;
>   		ubifs_ro_mode(c, err);
>   		return err;
>