]> git.baikalelectronics.ru Git - kernel.git/commit
merge path_init and path_init_rcu
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 22 Feb 2011 19:02:58 +0000 (14:02 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 14 Mar 2011 13:15:24 +0000 (09:15 -0400)
commitd0949cd2846cc1814f2af0e299ad9b596bbd6178
treed75350ba135d66f13a59864923f9a68c51f741e7
parentbb7b41658ccfeb3a35f4ca2f22eac7c3fca9f4a2
merge path_init and path_init_rcu

Actual dependency on whether we want RCU or not is in 3 small areas
(as it ought to be) and everything around those is the same in both
versions.  Since each function has only one caller and those callers
are on two sides of if (flags & LOOKUP_RCU), it's easier and cleaner
to merge them and pull the checks inside.

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