swap and dentry settings