]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ext4: update the s_last_mounted field in the superblock
authorTheodore Ts'o <tytso@mit.edu>
Sat, 13 Jun 2009 14:09:48 +0000 (10:09 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 13 Jun 2009 14:09:48 +0000 (10:09 -0400)
commitbc0b0d6d69ee9022f18ae264e62beb30ddeb322a
treefb1d04af657b6de21fa441c1d14fc296f32c723e
parent7f4520cc6242780ce720aa440ad4b391f998b558
ext4: update the s_last_mounted field in the superblock

This field can be very helpful when a system administrator is trying
to sort through large numbers of block devices or filesystem images.
What is stored in this field can be ambiguous if multiple filesystem
namespaces are in play; what we store in practice is the mountpoint
interpreted by the process's namespace which first opens a file in the
filesystem.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/file.c