namei: move saved_nd pointer into struct nameidata
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 13 May 2015 11:28:08 +0000 (07:28 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 15 May 2015 05:10:45 +0000 (01:10 -0400)
commit9883d1855ecfafc60045a93abcee6c42e0a5f571
tree2d1bca0b3c73c0bc749f440fc9b06d2511a14167
parent520ae6874726dbfdf52c779d387b584d95cfed7f
namei: move saved_nd pointer into struct nameidata

these guys are always declared next to each other; might as well put
the former (pointer to previous instance) into the latter and simplify
the calling conventions for {set,restore}_nameidata()

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