Commit a59a6ac5 authored by Theodore Y. Ts'o's avatar Theodore Y. Ts'o Committed by Linus Torvalds

[PATCH] Fix 32/64-bit bug in ext3

Fix 32/64-bit error in ext2_file_write; before, the top 32-bits of
the return value was getting chopped off.
parent aa18e4a6
......@@ -60,7 +60,8 @@ ext3_file_write(struct kiocb *iocb, const char *buf, size_t count, loff_t pos)
{
struct file *file = iocb->ki_filp;
struct inode *inode = file->f_dentry->d_inode;
int ret, err;
ssize_t ret;
int err;
ret = generic_file_aio_write(iocb, buf, count, pos);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment