diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-07-03 15:08:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 16:08:03 -0700 |
commit | bd9d43f47d6944019918a801398c587ee86c4b52 (patch) | |
tree | 56e2f0df4307e5562793b67a8efe7261f168acef /mm/readahead.c | |
parent | 18c830df771f2ba8b4699fea9af1492275ae627b (diff) |
fs/exec.c: do_execve_common(): use current_user()
Trivial cleanup. do_execve_common() can use current_user() and avoid the
unnecessary "struct cred *cred" var.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/readahead.c')
0 files changed, 0 insertions, 0 deletions