]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/dcache.c
vfs: add prepend_path() helper
authorMiklos Szeredi <mszeredi@suse.cz>
Tue, 10 Aug 2010 09:41:39 +0000 (11:41 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 11 Aug 2010 04:28:21 +0000 (00:28 -0400)
commitf2eb6575d5beba1e98d400463007d77555d1fc35
treed7459d7d06014b432ef8594f4d2e6de4966fe372
parent98dc568bc2ebefe4c0cb315a7fb7eff8bbb43176
vfs: add prepend_path() helper

Split off prepend_path() from __d_path().  This new helper takes an
end-of-buffer pointer and buffer-length pointer just like the other
prepend_* functions.  Move the " (deleted)" postfix out to __d_path().

This patch doesn't change any functionality but paves the way for the
following patches.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c