Skip to content
Commit f4ec3a3d authored by Al Viro's avatar Al Viro
Browse files

switch fsnotify_move() to passing const struct qstr * for old_name



note that in the second (RENAME_EXCHANGE) call of fsnotify_move() in
vfs_rename() the old_dentry->d_name is guaranteed to be unchanged
throughout the evaluation of fsnotify_move() (by the fact that the
parent directory is locked exclusive), so we don't need to fetch
old_dentry->d_name.name in the caller.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 230c6402
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment