aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorZheng Liu <[email protected]>2012-05-28 18:06:51 -0400
committerTheodore Ts'o <[email protected]>2012-05-28 18:06:51 -0400
commit8563000d3bf3ccfccce335c092a7c43078be8ffd (patch)
tree393a35a5504527f0e98e8c82cbac259fd886c766 /net/lapb/lapb_in.c
parent4a3c3a5120bff77cc8c3a70c7cb681f458f47bfd (diff)
ext4: use consistent ssize_t type in ext4_file_write()
The generic_file_aio_write() function returns ssize_t, and ext4_file_write() returns a ssize_t, so use a ssize_t to collect the return value from generic_file_aio_write(). It shouldn't matter since the VFS read/write paths shouldn't allow a read greater than MAX_INT, but there was previously a bug in the AIO code paths, and it's best if we use a consistent type so that the return value from generic_file_aio_write() can't get truncated. Reported-by: Jouni Siren <[email protected]> Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Zheng Liu <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions