]> git.baikalelectronics.ru Git - kernel.git/commit
d_path: don't bother with return value of prepend()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 18 May 2021 02:05:23 +0000 (22:05 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 19 May 2021 00:08:11 +0000 (20:08 -0400)
commitc0db0dfe7e5a885126f1071571d807c3c224db6a
treef870a8f843dbf090500b509586da3f013dd9ab82
parent192e1ebd97a5b58a8cd46ab43dfc79324b7f087f
d_path: don't bother with return value of prepend()

Only simple_dname() checks it, and there we can simply do those
calls and check for overflow (by looking of negative buflen)
in the end.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/d_path.c