]> git.baikalelectronics.ru Git - kernel.git/commit
proc: kill the extra proc_readfd_common()->dir_emit_dots()
authorOleg Nesterov <oleg@redhat.com>
Sat, 24 Aug 2013 15:14:34 +0000 (17:14 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 24 Aug 2013 16:10:22 +0000 (12:10 -0400)
commit42b793a3a1081752a25149a27baf509732f69632
tree6a705705400be64fbaf8568b7472c1da7ba9d907
parentf1766ebe1d6b05455eacbca4ba2eedf64cddcec9
proc: kill the extra proc_readfd_common()->dir_emit_dots()

proc_readfd_common() does dir_emit_dots() twice in a row,
we need to do this only once.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/fd.c