lkml.org 
[lkml]   [2013]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 04/11] vfs: add renameat2 syscall
Hi all,

On Wed, 20 Nov 2013 14:01:45 +0100 Miklos Szeredi <miklos@szeredi.hu> wrote:
>
> From: Miklos Szeredi <mszeredi@suse.cz>
>
> Add new renameat2 syscall, which is the same as renameat with an added
> flags argument.
>
> Pass flags to vfs_rename() and to i_op->rename() as well.
>
> All filesystems check flags and return -EOPNOTSUPP for unsupported flags.

Can we please consider doing this slightly slower (and avoiding
conflicts/missed new uses etc) by creating a new i_op callback and only
implementing this when necessary?

From past experience, I can just about guarantee that the patch as it is
will cause conflicts (for me in linux-next if noone else) and a new use
case will turn up before (or during) the next merge window.

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-11-21 05:21    [W:0.527 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site