diff options
Diffstat (limited to 'mm/filemap_xip.c')
-rw-r--r-- | mm/filemap_xip.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mm/filemap_xip.c b/mm/filemap_xip.c index a4eb3113222..213ca1f5340 100644 --- a/mm/filemap_xip.c +++ b/mm/filemap_xip.c | |||
@@ -426,7 +426,9 @@ xip_file_write(struct file *filp, const char __user *buf, size_t len, | |||
426 | if (ret) | 426 | if (ret) |
427 | goto out_backing; | 427 | goto out_backing; |
428 | 428 | ||
429 | file_update_time(filp); | 429 | ret = file_update_time(filp); |
430 | if (ret) | ||
431 | goto out_backing; | ||
430 | 432 | ||
431 | ret = __xip_file_write (filp, buf, count, pos, ppos); | 433 | ret = __xip_file_write (filp, buf, count, pos, ppos); |
432 | 434 | ||