Merge commit 'v2.6.32-rc6' into perf/core
[safe/jmp/linux-2.6] / kernel / trace / ftrace.c
index b10c0d9..1ed514f 100644 (file)
@@ -751,7 +751,7 @@ ftrace_profile_write(struct file *filp, const char __user *ubuf,
  out:
        mutex_unlock(&ftrace_profile_lock);
 
-       filp->f_pos += cnt;
+       *ppos += cnt;
 
        return cnt;
 }