]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - fs/inode.c
fs: Do not overload update_time
authorDeepa Dinamani <deepa.kernel@gmail.com>
Tue, 3 Dec 2019 05:19:45 +0000 (21:19 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Dec 2019 00:10:56 +0000 (19:10 -0500)
commit23b424d9c36e6205d38130f9d96fa755e51e8817
tree350c1ff01dddd3c3e7155e1c9720edd70e7a606d
parentba70609d5ec664a8f36ba1c857fcd97a478adf79
fs: Do not overload update_time

update_time() also has an internal function pointer
update_time. Even though this works correctly, it is
confusing to the readers.

Just use a regular if statement to call the generic
function or the function pointer.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/inode.c