From: Sasikantha babu Date: Thu, 31 May 2012 23:26:07 +0000 (-0700) Subject: sethostname/setdomainname: notify userspace when there is a change in uts_kern_table X-Git-Tag: v3.5-rc1~21^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=499eea6bf9c06df3bf4549954aee6fb3427946ed;p=pandora-kernel.git sethostname/setdomainname: notify userspace when there is a change in uts_kern_table sethostname() and setdomainname() notify userspace on failure (without modifying uts_kern_table). Change things so that we only notify userspace on success, when uts_kern_table was actually modified. Signed-off-by: Sasikantha babu Cc: Paul Gortmaker Cc: Greg Kroah-Hartman Cc: WANG Cong Reviewed-by: Cyrill Gorcunov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed