fs: dentry allocation consolidation
authorNick Piggin <npiggin@kernel.dk>
Tue, 17 Aug 2010 18:37:31 +0000 (04:37 +1000)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 18 Aug 2010 12:35:45 +0000 (08:35 -0400)
commitbaa0389073eb7beb9d36f6d13df97e16c1bfa626
tree38567c4e315f74fe086e4f7459df2a1cadd9add6
parent2e2e88ea8c3bd9e1bd6e42faf047a4ac3fbb3b2f
fs: dentry allocation consolidation

fs: dentry allocation consolidation

There are 2 duplicate copies of code in dentry allocation in path lookup.
Consolidate them into a single function.

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