]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
autofs4: fix symlink name allocation
authorIan Kent <raven@themaw.net>
Thu, 24 Jul 2008 04:30:13 +0000 (21:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:31 +0000 (10:47 -0700)
commitef581a742874ebc4c28d24b374c78b762144ebdc
tree8dfced9c0fc8e18a3b81aac9fae2b843d251b8a6
parent2576737873dc1d9ea461a5955a5f6779b569a350
autofs4: fix symlink name allocation

The length of the symlink name has been moved but it needs to be set
before allocating space for it in the dentry info struct.  This corrects a
mistake in a recent patch.

Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs4/root.c