efivarfs: Update inode modification time for successful writes
authorTony Luck <tony.luck@intel.com>
Thu, 28 May 2020 19:49:04 +0000 (12:49 -0700)
committerArd Biesheuvel <ardb@kernel.org>
Mon, 15 Jun 2020 12:38:56 +0000 (14:38 +0200)
commit2096721f1577b51b574fa06a7d91823dffe7267a
tree493d009afc55e0250a9518233a77b8cbbb6cd7eb
parent4ddf4739be6e375116c375f0a68bf3893ffcee21
efivarfs: Update inode modification time for successful writes

Some applications want to be able to see when EFI variables
have been updated.

Update the modification time for successful writes.

Reported-by: Lennart Poettering <mzxreary@0pointer.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20200528194905.690-2-tony.luck@intel.com
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
fs/efivarfs/file.c