* Use filesystem name if filesystem does not support rename()
* operation.
*/
- if (!inode->i_op->rename2)
+ if (!inode->i_op->rename)
goto prepend_filesystem_name;
}
/* Prepend device name. */
* or dentry without vfsmount.
*/
if (!path->mnt ||
- (!inode->i_op->rename2))
+ (!inode->i_op->rename))
pos = tomoyo_get_local_path(path->dentry, buf,
buf_len - 1);
/* Get absolute name for the rest. */