]> Git Repo - linux.git/commit
fs: call rename2 if exists
authorMiklos Szeredi <[email protected]>
Wed, 23 Jul 2014 13:15:30 +0000 (15:15 +0200)
committerAl Viro <[email protected]>
Thu, 7 Aug 2014 18:40:09 +0000 (14:40 -0400)
commit7177a9c4b509eb357cc450256bc3cf39f1a1e639
tree077ca807a8aea9b105ac5997e4cc99d4fdd3d0e9
parent2577d92ebd28dd9b3dacdfad6dcd81be0d21bbdf
fs: call rename2 if exists

Christoph Hellwig suggests:

1) make vfs_rename call ->rename2 if it exists instead of ->rename
2) switch all filesystems that you're adding NOREPLACE support for to
   use ->rename2
3) see how many ->rename instances we'll have left after a few
   iterations of 2.

Signed-off-by: Miklos Szeredi <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
fs/ext4/namei.c
fs/fuse/dir.c
fs/namei.c
This page took 0.053269 seconds and 4 git commands to generate.