[PATCH] UBIFS: Fix typo of output in get_cs_sqnum

2018-08-19 Thread Liu Song
"Not a CS node" makes more sense than "Node a CS node".

Signed-off-by: Liu Song 
Reviewed-by: Jiang Biao 
---
 fs/ubifs/recovery.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ubifs/recovery.c b/fs/ubifs/recovery.c
index 3af4472061cc..400163dc7022 100644
--- a/fs/ubifs/recovery.c
+++ b/fs/ubifs/recovery.c
@@ -829,7 +829,7 @@ static int get_cs_sqnum(struct ubifs_info *c, int lnum, int 
offs,
goto out_err;
}
if (cs_node->ch.node_type != UBIFS_CS_NODE) {
-   ubifs_err(c, "Node a CS node, type is %d", 
cs_node->ch.node_type);
+   ubifs_err(c, "Not a CS node, type is %d", 
cs_node->ch.node_type);
goto out_err;
}
if (le64_to_cpu(cs_node->cmt_no) != c->cmt_no) {
-- 
2.17.1



[PATCH] UBIFS: Fix typo of output in get_cs_sqnum

2018-08-19 Thread Liu Song
"Not a CS node" makes more sense than "Node a CS node".

Signed-off-by: Liu Song 
Reviewed-by: Jiang Biao 
---
 fs/ubifs/recovery.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ubifs/recovery.c b/fs/ubifs/recovery.c
index 3af4472061cc..400163dc7022 100644
--- a/fs/ubifs/recovery.c
+++ b/fs/ubifs/recovery.c
@@ -829,7 +829,7 @@ static int get_cs_sqnum(struct ubifs_info *c, int lnum, int 
offs,
goto out_err;
}
if (cs_node->ch.node_type != UBIFS_CS_NODE) {
-   ubifs_err(c, "Node a CS node, type is %d", 
cs_node->ch.node_type);
+   ubifs_err(c, "Not a CS node, type is %d", 
cs_node->ch.node_type);
goto out_err;
}
if (le64_to_cpu(cs_node->cmt_no) != c->cmt_no) {
-- 
2.17.1