summaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorZheng Liu <wenqing.lz@taobao.com>2013-01-16 20:21:26 -0500
committerTheodore Ts'o <tytso@mit.edu>2013-01-16 20:21:26 -0500
commitaaddea812cb0a2dc38b55ba557b68999bc2f6203 (patch)
treea0c351a893ee132fdb36a3693dd9af5e126f7546 /fs/ext4/inode.c
parent7f5118629f74b82bd4ba5e47415d1b4dcb940241 (diff)
downloadop-kernel-dev-aaddea812cb0a2dc38b55ba557b68999bc2f6203.zip
op-kernel-dev-aaddea812cb0a2dc38b55ba557b68999bc2f6203.tar.gz
ext4: add tracepoint in punching hole
This patch adds a tracepoint in ext4_punch_hole. CC: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r--fs/ext4/inode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 93a7e84..5abf89c 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -3567,6 +3567,8 @@ int ext4_punch_hole(struct file *file, loff_t offset, loff_t length)
return -EOPNOTSUPP;
}
+ trace_ext4_punch_hole(inode, offset, length);
+
return ext4_ext_punch_hole(file, offset, length);
}
OpenPOWER on IntegriCloud