diff options
| author | Jan Kara <[email protected]> | 2014-04-03 14:46:35 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-04-03 16:20:51 -0700 |
| commit | d8aaab4f619acfbfafc91d94b15c2932457c65fa (patch) | |
| tree | d73ebf86269bf349e2949dfe14dbb2f36f179a59 /tools/perf/scripts/python | |
| parent | 9573f79355ff3711c98227d14a9b7f4cb3222b97 (diff) | |
fanotify: reorganize loop in fanotify_read()
Swap the error / "read ok" branches in the main loop of fanotify_read().
We will grow the "read ok" part in the next patch and this makes the
indentation easier. Also it is more common to have error conditions
inside an 'if' instead of the fast path.
Signed-off-by: Jan Kara <[email protected]>
Cc: Eric Paris <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions