Re: [PATCH 2/5 linux-next] udf: use sector_t for udf_bitmap_prealloc_blocks() return value

2015-03-14 Thread Jan Kara
On Tue 10-03-15 21:44:32, Fabian Frederick wrote: > udf_bitmap_prealloc_blocks() can only return positive value and is only > used to assign sector_t allocated. The return value is number of allocated blocks. There's no good reason to change that to sector_t... The variable 'allocated' in

Re: [PATCH 2/5 linux-next] udf: use sector_t for udf_bitmap_prealloc_blocks() return value

2015-03-14 Thread Jan Kara
On Tue 10-03-15 21:44:32, Fabian Frederick wrote: udf_bitmap_prealloc_blocks() can only return positive value and is only used to assign sector_t allocated. The return value is number of allocated blocks. There's no good reason to change that to sector_t... The variable 'allocated' in

[PATCH 2/5 linux-next] udf: use sector_t for udf_bitmap_prealloc_blocks() return value

2015-03-10 Thread Fabian Frederick
udf_bitmap_prealloc_blocks() can only return positive value and is only used to assign sector_t allocated. Signed-off-by: Fabian Frederick --- 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 ---

[PATCH 2/5 linux-next] udf: use sector_t for udf_bitmap_prealloc_blocks() return value

2015-03-10 Thread Fabian Frederick
udf_bitmap_prealloc_blocks() can only return positive value and is only used to assign sector_t allocated. Signed-off-by: Fabian Frederick f...@skynet.be --- 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