From 799013cccd8f7745926ea5c1131677e7eb96e50f Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Fri, 13 May 2011 13:22:19 +0300 Subject: [PATCH] --- yaml --- r: 250449 b: refs/heads/master c: e9ef7b5f25d31c5660fb4a87f4b40ac48070fcb7 h: refs/heads/master i: 250447: 20a77de306387585209e27bccd1c34d50ce4042f v: v3 --- [refs] | 2 +- trunk/fs/ubifs/gc.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 668a6d2ea03a..0c0c346838be 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7a9c3e399389723f01be3dab50991604d2bc0409 +refs/heads/master: e9ef7b5f25d31c5660fb4a87f4b40ac48070fcb7 diff --git a/trunk/fs/ubifs/gc.c b/trunk/fs/ubifs/gc.c index 082d21bd9021..d70937b3f8e9 100644 --- a/trunk/fs/ubifs/gc.c +++ b/trunk/fs/ubifs/gc.c @@ -118,7 +118,7 @@ static int switch_gc_head(struct ubifs_info *c) * This function compares data nodes @a and @b. Returns %1 if @a has greater * inode or block number, and %-1 otherwise. */ -int data_nodes_cmp(void *priv, struct list_head *a, struct list_head *b) +static int data_nodes_cmp(void *priv, struct list_head *a, struct list_head *b) { ino_t inuma, inumb; struct ubifs_info *c = priv; @@ -161,7 +161,8 @@ int data_nodes_cmp(void *priv, struct list_head *a, struct list_head *b) * first and sorted by length in descending order. Directory entry nodes go * after inode nodes and are sorted in ascending hash valuer order. */ -int nondata_nodes_cmp(void *priv, struct list_head *a, struct list_head *b) +static int nondata_nodes_cmp(void *priv, struct list_head *a, + struct list_head *b) { ino_t inuma, inumb; struct ubifs_info *c = priv;