Re: [PATCH v3] introduce sys_syncfs to sync a single file system

From: Arnd Bergmann
Date: Fri Mar 11 2011 - 06:56:02 EST


On Friday 11 March 2011, Indan Zupancic wrote:
> > http://marc.info/?l=linux-fsdevel&m=127970513829285&w=2
>
> The patch there seems much more reasonable than introducing a whole
> new systemcall just for 20 lines of kernel code. New system calls are
> added too easily nowadays.

The only problem with adding new system calls is that we are stuck with
the interface until the end of time, so we must be sure not to get it
wrong. The same thing is true for any other interface such as ioctl
or extensions to existing system calls. People usually get away with
adding new ioctls more easily because it is less obvious when they
are added.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/