X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Fbuffer.c;h=ab7573d72dd7a2b8b97c18ef00d31f51b98051e1;hb=66e70be722886e4f134350212baa13f217e39e42;hp=bd6a9e9fbd64c92f9af2909123f6c38c3b7a1049;hpb=8e235ff9a1e3dc3d800224ab97bcd2418d3b19c3;p=linux-2.6-microblaze.git diff --git a/fs/buffer.c b/fs/buffer.c index bd6a9e9fbd64..ab7573d72dd7 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -3267,33 +3267,6 @@ out: } EXPORT_SYMBOL(try_to_free_buffers); -/* - * There are no bdflush tunables left. But distributions are - * still running obsolete flush daemons, so we terminate them here. - * - * Use of bdflush() is deprecated and will be removed in a future kernel. - * The `flush-X' kernel threads fully replace bdflush daemons and this call. - */ -SYSCALL_DEFINE2(bdflush, int, func, long, data) -{ - static int msg_count; - - if (!capable(CAP_SYS_ADMIN)) - return -EPERM; - - if (msg_count < 5) { - msg_count++; - printk(KERN_INFO - "warning: process `%s' used the obsolete bdflush" - " system call\n", current->comm); - printk(KERN_INFO "Fix your initscripts?\n"); - } - - if (func == 1) - do_exit(0); - return 0; -} - /* * Buffer-head allocation */