fs: take dcache_lock inside __d_path
authorChristoph Hellwig <hch@infradead.org>
Sun, 10 Oct 2010 09:36:21 +0000 (05:36 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Oct 2010 01:26:12 +0000 (21:26 -0400)
commitbe148247cfbe2422f5709e77d9c3e10b8a6394da
treef04605bb5ea21cefd455b6fd81c51d8bb02c1521
parent85fe4025c616a7c0ed07bc2fc8c5371b07f3888c
fs: take dcache_lock inside __d_path

All callers take dcache_lock just around the call to __d_path, so
take the lock into it in preparation of getting rid of dcache_lock.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c
fs/seq_file.c
security/apparmor/path.c
security/tomoyo/realpath.c