]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: MMP: kmmpd should use nodename from init_uts_ns.name, not sysname
authorNikitas Angelinas <nikitasangelinas@gmail.com>
Sat, 8 Oct 2011 21:21:26 +0000 (17:21 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 8 Oct 2011 21:21:26 +0000 (17:21 -0400)
commiteb3de59863f0213c2057916f257e26b33985e8c1
tree368b05c1037cc8d54af03827b06d94c464ba89e1
parent4fd30c0330ba951d579ee3f0c24eaf1fa0580719
ext4: MMP: kmmpd should use nodename from init_uts_ns.name, not sysname

sysname holds "Linux" by default, i.e. what appears when doing a "uname
-s"; nodename should be used to print the machine's hostname, i.e. what
is returned when doing a "uname -n" or "hostname", and what
gethostname(2)/sethostname(2) manipulate, in order to notify the
administrator of the node which is contending to mount the filesystem.

Acked-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Nikitas Angelinas <nikitas_angelinas@xyratex.com>
Signed-off-by: Andrew Perepechko <andrew_perepechko@xyratex.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mmp.c