Wrapfs: leave placeholders for updating upper inode after AIO
authorErez Zadok <ezk@cs.sunysb.edu>
Mon, 11 Aug 2014 22:30:05 +0000 (18:30 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 27 Dec 2016 03:53:21 +0000 (22:53 -0500)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/wrapfs/file.c

index 2a46b8643ca92539ebbb8341fd5ed15eb2cae625..aed8a0fd319d2c11c9030bcb99572578e3507112 100644 (file)
@@ -284,6 +284,7 @@ static ssize_t wrapfs_aio_read(struct kiocb *iocb, const struct iovec *iov,
        err = lower_file->f_op->aio_read(iocb, iov, nr_segs, pos);
        iocb->ki_filp = file;
        fput(lower_file);
+       /* XXX: need to update upper inode atime as needed */
 out:
        return err;
 }
@@ -307,6 +308,7 @@ static ssize_t wrapfs_aio_write(struct kiocb *iocb, const struct iovec *iov,
        err = lower_file->f_op->aio_write(iocb, iov, nr_segs, pos);
        iocb->ki_filp = file;
        fput(lower_file);
+       /* XXX: need to update upper inode times/sizes as needed */
 out:
        return err;
 }