ext4: factor out helper ext4_sample_last_mounted()

commit 833a950882 upstream.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
[bwh: Backported to 3.16:
 - Move up declaration of ret in ext4_file_open()
 - Adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Amir Goldstein 2018-05-13 22:44:23 -04:00 • committed by Ben Hutchings
commit 8efefbfda5