]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] dup_fd() part 2
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 9 May 2008 01:02:45 +0000 (21:02 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 16 May 2008 21:22:33 +0000 (17:22 -0400)
commit9dec3c4d306b09b31331e475e895bb9674e16d81
treea4755dd7f368d78cfe24696b7e469b41562f1aea
parent02afc6267f6d55d47aba9fcafdbd1b7230d2294a
[PATCH] dup_fd() part 2

use alloc_fdtable() instead of expand_files(), get rid of pointless
grabbing newf->file_lock, kill magic in copy_fdtable() that used to
be there only to skip copying when called from dup_fd().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file.c