aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorLai Jiangshan <[email protected]>2009-04-02 15:17:04 +0800
committerIngo Molnar <[email protected]>2009-04-10 12:44:44 +0200
commitc7625a555f55d7ae49236cde551786c88f5a5ce1 (patch)
tree4cca942d46412d708945f574ef4c4b87adf92d1d /drivers/mtd/lpddr/lpddr_cmds.c
parentddd538f3e6a1a4bec2f6942f83a753263e6577b4 (diff)
tracing: update file->f_pos when splice(2) it
Impact: Cleanup These two lines: if (unlikely(*ppos)) return -ESPIPE; in tracing_buffers_splice_read() are not needed, VFS layer has disabled seek(2). We remove these two lines, and then we can update file->f_pos. And tracing_buffers_read() updates file->f_pos, this fix make tracing_buffers_splice_read() updates file->f_pos too. Signed-off-by: Lai Jiangshan <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Steven Rostedt <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions