procfs: remove extra call of dir_emit_dots
PATCH 1/1 procfs: remove extra call of dir_emit_dots
dir_emit_dots() is called twice. Looks like a typo.
Cc Al Viro <[email protected]>
Cc Cyrill Gorcunov <[email protected]>
Cc Pavel Emelyanov <[email protected]>
Cc Andrew Morton <[email protected]>
Signed-off-by Andrey Vagin <[email protected]>
--- fs/proc/fd.c | 2 -- 1 file changed, 2 deletions(-)
fs/proc/fd.c +0 -2
@@ -230,8 +230,6 @@ static int proc_readfd_common(struct file *file, struct dir_context *ctx,if (!dir_emit_dots (file, ctx)) goto out; -if (!dir_emit_dots (file, ctx)) - goto out; files =get_files_struct (p);if (!files) goto out;
Signature · 1 line
1.8.3.1