diff options
author | Yingping Lu <yingping@sgi.com> | 2006-03-22 02:44:15 +0100 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-03-22 02:44:15 +0100 |
commit | f1fdc848aab7fb95b32e058b7f06cc07912b3734 (patch) | |
tree | 65cdb6b329230324d87ac62f0d6d7a71a7bbba97 /fs/xfs/xfs_inode.c | |
parent | [XFS] Fix compiler warning from xfs_file_compat_invis_ioctl prototype. (diff) | |
download | linux-f1fdc848aab7fb95b32e058b7f06cc07912b3734.tar.xz linux-f1fdc848aab7fb95b32e058b7f06cc07912b3734.zip |
[XFS] Fixing KDB's xrwtrc command, also added the current process id into
the trace.
SGI-PV: 948300
SGI-Modid: xfs-linux-melb:xfs-kern:208069a
Signed-off-by: Yingping Lu <yingping@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 7d0ded05a467..2424a4777949 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -1372,10 +1372,10 @@ xfs_itrunc_trace( (void*)(unsigned long)((toss_finish >> 32) & 0xffffffff), (void*)(unsigned long)(toss_finish & 0xffffffff), (void*)(unsigned long)current_cpu(), - (void*)0, - (void*)0, - (void*)0, - (void*)0); + (void*)(unsigned long)current_pid(), + (void*)NULL, + (void*)NULL, + (void*)NULL); } #else #define xfs_itrunc_trace(tag, ip, flag, new_size, toss_start, toss_finish) |