From: Miklos Szeredi Date: Tue, 1 Apr 2014 15:08:42 +0000 (+0200) Subject: vfs: rename: move d_move() up X-Git-Tag: v3.15-rc1~99^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de22a4c3720a96f1c2ebf12b0857b6db6a991f2c;p=pandora-kernel.git 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 Reviewed-by: J. Bruce Fields --- Reading git-diff-tree failed