projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a74b2ad
)
loop: Update mtime when writing using aops
author
Nikanth Karthikesan
<knikanth@suse.de>
Thu, 8 Apr 2010 19:39:31 +0000
(21:39 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 8 Apr 2010 19:39:31 +0000
(21:39 +0200)
Update mtime when writing to backing filesystem using the address space
operations write_begin and write_end.
Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/loop.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/loop.c
b/drivers/block/loop.c
index bd112c8c7bcde9b3efdbceadc6fc89d65f6c9ea0..1c21a3f238689012e8cbcaca2d8a537472b2aef3 100644
(file)
--- a/
drivers/block/loop.c
+++ b/
drivers/block/loop.c
@@
-238,6
+238,8
@@
static int do_lo_send_aops(struct loop_device *lo, struct bio_vec *bvec,
if (ret)
goto fail;
+ file_update_time(file);
+
transfer_result = lo_do_transfer(lo, WRITE, page, offset,
bvec->bv_page, bv_offs, size, IV);
copied = size;