projects
/
wrapfs-3.9.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c41ec02
)
Wrapfs: leave placeholders for updating upper inode after AIO
author
Erez Zadok
<ezk@cs.sunysb.edu>
Mon, 11 Aug 2014 22:40:54 +0000
(18:40 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Mon, 11 Aug 2014 22:40:54 +0000
(18:40 -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 445cbfd9550c38436ba877769070a6415446486f..3c6248fedc9e3a2f0eb4de500a9028ace8140ac7 100644
(file)
--- a/
fs/wrapfs/file.c
+++ b/
fs/wrapfs/file.c
@@
-281,6
+281,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;
}
@@
-304,6
+305,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;
}