mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
nfs: rename the nfs_async_rename_done tracepoint
We do async renames in other cases besides sillyrenames now. This tracepoint name is now misleading. Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
283064fca3
commit
310b1f89ea
@ -893,7 +893,7 @@ DECLARE_EVENT_CLASS(nfs_rename_event_done,
|
||||
DEFINE_NFS_RENAME_EVENT(nfs_rename_enter);
|
||||
DEFINE_NFS_RENAME_EVENT_DONE(nfs_rename_exit);
|
||||
|
||||
DEFINE_NFS_RENAME_EVENT_DONE(nfs_sillyrename_rename);
|
||||
DEFINE_NFS_RENAME_EVENT_DONE(nfs_async_rename_done);
|
||||
|
||||
TRACE_EVENT(nfs_sillyrename_unlink,
|
||||
TP_PROTO(
|
||||
|
@ -267,7 +267,7 @@ static void nfs_async_rename_done(struct rpc_task *task, void *calldata)
|
||||
struct inode *new_dir = data->new_dir;
|
||||
struct dentry *old_dentry = data->old_dentry;
|
||||
|
||||
trace_nfs_sillyrename_rename(old_dir, old_dentry,
|
||||
trace_nfs_async_rename_done(old_dir, old_dentry,
|
||||
new_dir, data->new_dentry, task->tk_status);
|
||||
if (!NFS_PROTO(old_dir)->rename_done(task, old_dir, new_dir)) {
|
||||
rpc_restart_call_prepare(task);
|
||||
|
Loading…
Reference in New Issue
Block a user