]> git.baikalelectronics.ru Git - kernel.git/commit
seq_file: return a negative error code when seq_path_root() fails.
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Fri, 18 Sep 2009 20:05:59 +0000 (13:05 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 24 Sep 2009 11:47:29 +0000 (07:47 -0400)
commit506c6a9229328cd3a3279a7a3756f98078b37f8a
tree57a1cd4c0441885201a2d6bac59f9ec5cba0325e
parent670891917f09933309ea9f58b16966098d0e0b3d
seq_file: return a negative error code when seq_path_root() fails.

seq_path_root() is returning a return value of successful __d_path()
instead of returning a negative value when mangle_path() failed.

This is not a bug so far because nobody is using return value of
seq_path_root().

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/seq_file.c