vfs: fix nd->root leak in do_filp_open()
authorJ. R. Okajima <hooanon05@yahoo.co.jp>
Thu, 18 Jun 2009 14:30:15 +0000 (23:30 +0900)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 24 Jun 2009 12:15:24 +0000 (08:15 -0400)
commit654f562c526cf9dfb8d453f687341fe0777ee454
tree407b4c7755b6db7ecf77a881121228831876ee55
parentb5450d9c84bdd38b261922057cd167da51dfae93
vfs: fix nd->root leak in do_filp_open()

commit 2a737871108de9ba8930f7650d549f1383767f8b "Cache root in nameidata"
introduced a new member nd->root, but forgot to put it in do_filp_open().

Signed-off-by: J. R. Okajima <hooanon05@yahoo.co.jp>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c