ftrace: Clear bits properly in reset_iter_read()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 9 Jun 2012 16:10:27 +0000 (19:10 +0300)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 15 Nov 2012 21:10:17 +0000 (16:10 -0500)
commit70f77b3f7ec010ff9624c1f2e39a81babc9e2429
treea47ad8d3c846b8418919a2cfdfbf6424ff041767
parent18423d3562f396206e0928a71177eeb2edfed077
ftrace: Clear bits properly in reset_iter_read()

There is a typo here where '&' is used instead of '|' and it turns the
statement into a noop.  The original code is equivalent to:

iter->flags &= ~((1 << 2) & (1 << 4));

Link: http://lkml.kernel.org/r/20120609161027.GD6488@elgon.mountain
Cc: stable@vger.kernel.org # all of them
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c