diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2013-03-02 15:25:53 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-03-07 14:27:25 +1100 |
commit | 657df3075ce16006b38fc3b91c30fdc48930d667 (patch) | |
tree | 03ec2bbfbc5a90f8539ed48e663215d56b276138 | |
parent | 3fc1aa04b0698d2a370ca35f97a915327ffde30e (diff) |
aio-kill-ki_retry-fix
use fmode_t in aio_run_iocb()
Cc: Kent Overstreet <koverstreet@google.com>
Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | fs/aio.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1043,7 +1043,8 @@ static ssize_t aio_run_iocb(struct kiocb *req, bool compat) { struct file *file = req->ki_filp; ssize_t ret; - int rw, mode; + int rw; + fmode_t mode; aio_rw_op *rw_op; switch (req->ki_opcode) { |