summaryrefslogtreecommitdiffstats
path: root/include/linux/quotaops.h
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-15 10:54:23 +0100
committerJan Kara <jack@suse.cz>2015-03-16 08:24:16 +0100
commit1be440de2ac5181495a7295fa9a4c8ad0793f056 (patch)
treea437024dbf885af33e65f8e635a2559ad5c0e122 /include/linux/quotaops.h
parent13f0c2b0f67d6f04b21cedce726284b67457bd2f (diff)
downloadlinux-1be440de2ac5181495a7295fa9a4c8ad0793f056.tar.gz
linux-1be440de2ac5181495a7295fa9a4c8ad0793f056.tar.bz2
linux-1be440de2ac5181495a7295fa9a4c8ad0793f056.zip
udf: use int for allocated blocks instead of sector_t
Fix the following warnings: fs/udf/balloc.c:768:15: warning: conversion to 'sector_t' from 'int' may change the sign of the result [-Wsign-conversion] allocated = udf_bitmap_prealloc_blocks(sb, ^ fs/udf/balloc.c:773:15: warning: conversion to 'sector_t' from 'int' may change the sign of the result [-Wsign-conversion] allocated = udf_table_prealloc_blocks(sb, ^ fs/udf/balloc.c:778:15: warning: conversion to 'sector_t' from 'int' may change the sign of the result [-Wsign-conversion] allocated = udf_bitmap_prealloc_blocks(sb, ^ fs/udf/balloc.c:783:15: warning: conversion to 'sector_t' from 'int' may change the sign of the result [-Wsign-conversion] allocated = udf_table_prealloc_blocks(sb, ^ fs/udf/balloc.c:791:26: warning: conversion to 'loff_t' from 'sector_t' may change the sign of the result [-Wsign-conversion] inode_add_bytes(inode, allocated << sb->s_blocksize_bits); ^ fs/udf/balloc.c:792:2: warning: conversion to 'int' from 'sector_t' may alter its value [-Wconversion] return allocated; Suggested-by: Jan Kara <jack@suse.cz> Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/quotaops.h')
0 files changed, 0 insertions, 0 deletions