projects
/
wrapfs-2.6.37.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4c0e38
)
Wrapfs: leave placeholders for updating upper inode after AIO
author
Erez Zadok
<ezk@cs.sunysb.edu>
Mon, 11 Aug 2014 23:17:31 +0000
(19:17 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Mon, 11 Aug 2014 23:17:31 +0000
(19:17 -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 0a513a65d9d4b8b9566686c04a6800d0aa2b6b44..a565d545dbe14fcfcef33a04c981e547be1a9c0c 100644
(file)
--- a/
fs/wrapfs/file.c
+++ b/
fs/wrapfs/file.c
@@
-280,6
+280,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;
}
@@
-303,6
+304,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;
}