aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/master.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/master.c')
-rw-r--r--fs/ubifs/master.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/master.c b/fs/ubifs/master.c
index a88f33801b98..6f95a168a56f 100644
--- a/fs/ubifs/master.c
+++ b/fs/ubifs/master.c
@@ -40,7 +40,7 @@ static int scan_for_master(struct ubifs_info *c)
40 40
41 lnum = UBIFS_MST_LNUM; 41 lnum = UBIFS_MST_LNUM;
42 42
43 sleb = ubifs_scan(c, lnum, 0, c->sbuf); 43 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1);
44 if (IS_ERR(sleb)) 44 if (IS_ERR(sleb))
45 return PTR_ERR(sleb); 45 return PTR_ERR(sleb);
46 nodes_cnt = sleb->nodes_cnt; 46 nodes_cnt = sleb->nodes_cnt;
@@ -56,7 +56,7 @@ static int scan_for_master(struct ubifs_info *c)
56 56
57 lnum += 1; 57 lnum += 1;
58 58
59 sleb = ubifs_scan(c, lnum, 0, c->sbuf); 59 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1);
60 if (IS_ERR(sleb)) 60 if (IS_ERR(sleb))
61 return PTR_ERR(sleb); 61 return PTR_ERR(sleb);
62 if (sleb->nodes_cnt != nodes_cnt) 62 if (sleb->nodes_cnt != nodes_cnt)