Skip to content
Commit ad147d01 authored by David Howells's avatar David Howells Committed by Al Viro
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
parent f805442e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment