]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] dcookies.c: use proper refcounting functions
authorMiklos Szeredi <miklos@szeredi.hu>
Fri, 8 Jul 2005 00:57:29 +0000 (17:57 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:52 +0000 (18:23 -0700)
commit6c4019d50a69bbd2a393b88f071d7f63ef8e4219
tree513e7230a59a526a09b387b5a2628a2eed3a80bb
parent0e5a5a986d2192c4b8bc55fb6dbb18542066083e
[PATCH] dcookies.c: use proper refcounting functions

Dcookies shouldn't play with the internals of dentry and vfsmnt
refcounting.  It defeats grepping, and is prone to break if implementation
details change.

In addition the function doesn't even seem to be performance critical: it
calls kmem_cache_alloc().

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/dcookies.c