diff options
author | Christoph Hellwig <hch@lst.de> | 2016-10-30 17:42:02 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-10-30 18:09:42 +0100 |
commit | 723c038475b78edc9327eb952f95f9881cc9d79d (patch) | |
tree | 551fe8d35221c67853a44a14bd5713f927bfe1b4 /fs/aio.c | |
parent | aio: hold an extra file reference over AIO read/write operations (diff) | |
download | linux-723c038475b78edc9327eb952f95f9881cc9d79d.tar.xz linux-723c038475b78edc9327eb952f95f9881cc9d79d.zip |
fs: remove the never implemented aio_fsync file operation
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/aio.c')
-rw-r--r-- | fs/aio.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -1472,20 +1472,6 @@ rw_common: kfree(iovec); break; - case IOCB_CMD_FDSYNC: - if (!file->f_op->aio_fsync) - return -EINVAL; - - ret = file->f_op->aio_fsync(req, 1); - break; - - case IOCB_CMD_FSYNC: - if (!file->f_op->aio_fsync) - return -EINVAL; - - ret = file->f_op->aio_fsync(req, 0); - break; - default: pr_debug("EINVAL: no operation provided\n"); return -EINVAL; |