sysctl: A more obvious version of grab_header.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 7 Jan 2012 14:57:47 +0000 (06:57 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 25 Jan 2012 00:40:28 +0000 (16:40 -0800)
commit3cc3e04636d603778d921854b84ae7bd34a349a2
treea71b0271933f3ed5d30ec7b15fc07e55af80ace6
parent8d6ecfcc014332fd2fe933f64194160f0e3a6696
sysctl: A more obvious version of grab_header.

Instead of relying on sysct_head_next(NULL) to magically
return the right header for the root directory instead
explicitly transform NULL into the root directories header.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
fs/proc/proc_sysctl.c