diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2014-04-01 19:08:42 +0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2014-04-01 19:08:42 +0400 |
commit | de22a4c3720a96f1c2ebf12b0857b6db6a991f2c (patch) | |
tree | 416887bb4a8755957f88d0cf9de563e45a78a1f4 /fs/cachefiles | |
parent | 44b1d53043c482225196e8a9cd9f35163a1b3336 (diff) | |
download | linux-de22a4c3720a96f1c2ebf12b0857b6db6a991f2c.tar.xz |
vfs: rename: move d_move() up
Move the d_move() in vfs_rename_dir() up, similarly to how it's done in
vfs_rename_other(). The next patch will consolidate these two functions
and this is the only structural difference between them.
I'm not sure if doing the d_move() after the dput is even valid. But there
may be a logical explanation for that. But moving the d_move() before the
dput() (and the mutex_unlock()) should definitely not hurt.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Reviewed-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions