commit | ad147d011f4e9d4e4309f7974fd19c7f875ccb14 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Thu Apr 04 16:32:28 2013 +0100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Apr 09 15:16:50 2013 -0400 |
tree | 97b2b327e036c0001e6a597da1f7802a226f1453 | |
parent | f805442e130c6eeb6c25bc5c3b3cefc27ab6dcec [diff] |
procfs: Clean up huge if-statement in __proc_file_read() Switch huge if-statement in __proc_file_read() around. This then puts the single line loop break immediately after the if-statement and allows us to de-indent the huge comment and make it take fewer lines. The code following the if-statement then follows naturally from the call to dp->read_proc(). Signed-off-by: David Howells <dhowells@redhat.com>