[PATCH] fdtable: Provide free_fdtable() wrapper
authorVadim Lobanov <vlobanov@speakeasy.net>
Fri, 22 Dec 2006 09:10:43 +0000 (01:10 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 22 Dec 2006 16:55:50 +0000 (08:55 -0800)
commit01b2d93ca4c495f056471189ac6c4e6ac4cbbccb
tree86aa1aabae8207e693e31ee68b526376388a36a3
parent31fccf7fe4097e62f038bdfe8f4f68ecaea8ebe7
[PATCH] fdtable: Provide free_fdtable() wrapper

Christoph Hellwig has expressed concerns that the recent fdtable changes
expose the details of the RCU methodology used to release no-longer-used
fdtable structures to the rest of the kernel.  The trivial patch below
addresses these concerns by introducing the appropriate free_fdtable()
calls, which simply wrap the release RCU usage.  Since free_fdtable() is a
one-liner, it makes sense to promote it to an inline helper.

Signed-off-by: Vadim Lobanov <vlobanov@speakeasy.net>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/file.c
include/linux/file.h
kernel/exit.c