mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
vfs: rename: use common code for dir and non-dir
There's actually very little difference between vfs_rename_dir() and vfs_rename_other() so move both inline into vfs_rename() which still stays reasonably readable. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Reviewed-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
de22a4c372
commit
bc27027a73
1 changed files with 75 additions and 112 deletions
217
fs/namei.c
217
fs/namei.c
Loading…
Add table
Add a link
Reference in a new issue