summaryrefslogtreecommitdiffstats
path: root/fs/file.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-02 22:34:38 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-29 03:49:02 +0100
commitc4144670fd9b34d6eae22c9f83751745898e8243 (patch)
treeda0bbda5707fafdc1d79eb2c851835c777182e89 /fs/file.c
parentmicroblaze: rt_sigreturn is too trigger-happy about sigaltstack errors (diff)
downloadlinux-c4144670fd9b34d6eae22c9f83751745898e8243.tar.xz
linux-c4144670fd9b34d6eae22c9f83751745898e8243.zip
kill daemonize()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/file.c')
-rw-r--r--fs/file.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/file.c b/fs/file.c
index 7cb71b992603..7272a1c5831d 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -519,12 +519,6 @@ struct files_struct init_files = {
.file_lock = __SPIN_LOCK_UNLOCKED(init_task.file_lock),
};
-void daemonize_descriptors(void)
-{
- atomic_inc(&init_files.count);
- reset_files_struct(&init_files);
-}
-
/*
* allocate a file descriptor, mark it busy.
*/