diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-08-21 18:53:09 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-08-22 16:58:18 +0400 |
commit | 8b0ad3d489cb107804bd8c78695532794eec73d5 (patch) | |
tree | 8effbc44356b30d38f6a267838d90bc639e9ff94 /fs/nfs/dir.c | |
parent | 6e0d0be715fe041fc7121b0b44cde3015d1cc846 (diff) | |
download | linux-8b0ad3d489cb107804bd8c78695532794eec73d5.tar.xz |
NFS: Add tracepoints for debugging generic file create events
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r-- | fs/nfs/dir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 2263a6ba36af..9c0781265425 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c @@ -1612,7 +1612,9 @@ int nfs_create(struct inode *dir, struct dentry *dentry, attr.ia_mode = mode; attr.ia_valid = ATTR_MODE; + trace_nfs_create_enter(dir, dentry, open_flags); error = NFS_PROTO(dir)->create(dir, dentry, &attr, open_flags); + trace_nfs_create_exit(dir, dentry, open_flags, error); if (error != 0) goto out_err; return 0; |