mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
fs: remove the never implemented aio_fsync file operation
Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
0b944d3a4b
commit
723c038475
5 changed files with 0 additions and 19 deletions
14
fs/aio.c
14
fs/aio.c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue