]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01d24feb0dc2b98148789a9f3dfb47be4548bfa9
tree2d1bca0b3c73c0bc749f440fc9b06d2511a14167
parentd921fa356eaa9dd2fb4741fdfb7a4cf0185a1db9
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