[PATCH 2/5 linux-next] udf: use sector_t for udf_bitmap_prealloc_blocks() return value
From: Fabian Frederick
Date: Tue Mar 10 2015 - 16:44:54 EST
udf_bitmap_prealloc_blocks() can only return positive value and is only
used to assign sector_t allocated.
Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
---
fs/udf/balloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/udf/balloc.c b/fs/udf/balloc.c
index 02948f0..30f4641 100644
--- a/fs/udf/balloc.c
+++ b/fs/udf/balloc.c
@@ -170,7 +170,7 @@ error_return:
mutex_unlock(&sbi->s_alloc_mutex);
}
-static int udf_bitmap_prealloc_blocks(struct super_block *sb,
+static sector_t udf_bitmap_prealloc_blocks(struct super_block *sb,
struct udf_bitmap *bitmap,
uint16_t partition, uint32_t first_block,
uint32_t block_count)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/