File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1993,7 +1993,7 @@ TRACE_EVENT(nfs4_layoutget,
1993
1993
1994
1994
DEFINE_NFS4_INODE_STATEID_EVENT (nfs4_layoutcommit );
1995
1995
DEFINE_NFS4_INODE_STATEID_EVENT (nfs4_layoutreturn );
1996
- DEFINE_NFS4_INODE_EVENT (nfs4_layoutreturn_on_close );
1996
+ DEFINE_NFS4_INODE_STATEID_EVENT (nfs4_layoutreturn_on_close );
1997
1997
1998
1998
TRACE_DEFINE_ENUM (PNFS_UPDATE_LAYOUT_UNKNOWN );
1999
1999
TRACE_DEFINE_ENUM (PNFS_UPDATE_LAYOUT_NO_PNFS );
Original file line number Diff line number Diff line change @@ -1549,12 +1549,12 @@ void pnfs_roc_release(struct nfs4_layoutreturn_args *args,
1549
1549
default :
1550
1550
arg_stateid = & args -> stateid ;
1551
1551
}
1552
+ trace_nfs4_layoutreturn_on_close (args -> inode , & args -> stateid , ret );
1552
1553
pnfs_layoutreturn_free_lsegs (lo , arg_stateid , & args -> range ,
1553
1554
res_stateid );
1554
1555
if (ld_private && ld_private -> ops && ld_private -> ops -> free )
1555
1556
ld_private -> ops -> free (ld_private );
1556
1557
pnfs_put_layout_hdr (lo );
1557
- trace_nfs4_layoutreturn_on_close (args -> inode , 0 );
1558
1558
}
1559
1559
1560
1560
bool pnfs_wait_on_layoutreturn (struct inode * ino , struct rpc_task * task )
You can’t perform that action at this time.
0 commit comments