projects
/
wrapfs-3.5.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a15da9
)
Wrapfs: leave placeholders for updating upper inode after AIO
author
Erez Zadok
<ezk@cs.sunysb.edu>
Mon, 11 Aug 2014 22:57:34 +0000
(18:57 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Mon, 11 Aug 2014 22:57:34 +0000
(18:57 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/wrapfs/file.c
patch
|
blob
|
history
diff --git
a/fs/wrapfs/file.c
b/fs/wrapfs/file.c
index 45fbb1e0c2ecd49f231b39026d295a2d03332878..18f1e166e8495c48258d9e360b6b788930ebdb74 100644
(file)
--- a/
fs/wrapfs/file.c
+++ b/
fs/wrapfs/file.c
@@
-282,6
+282,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;
}
@@
-305,6
+306,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;
}