]> git.karo-electronics.de Git - linux-beck.git/commit
staging: lustre: llite: Invoke file_update_time in page_mkwrite
authorYang Sheng <yang.sheng@intel.com>
Sat, 3 Dec 2016 00:53:23 +0000 (19:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Dec 2016 09:56:29 +0000 (10:56 +0100)
commitdb2472b0b64cc8531a0e0f0148645f9841bd1f27
tree17fb175a60e978c7e3c709aa9919258ff9bd8c71
parent5965de814e918035ebf1c1e95388febb9c86e5fb
staging: lustre: llite: Invoke file_update_time in page_mkwrite

Only update file times if page_mkwrite is not set. So we
need call file_update_time by ourselves.

Signed-off-by: Yang Sheng <yang.sheng@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-1118
Reviewed-on: http://review.whamcloud.com/18683
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/llite_mmap.c