aboutsummaryrefslogtreecommitdiff
path: root/net/802/hippi.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-10-15 13:16:18 +1100
committerJeremy Kerr <jk@ozlabs.org>2008-10-21 11:12:54 +1100
commitbaf399273f2ea38e2fcbd4d0b6cc7ba7f7db43eb (patch)
tree02f5b1fcde3b32f3a64143c478c63685067d776e /net/802/hippi.c
parent04ab591808565f968d4406f6435090ad671ebdab (diff)
powerpc/spufs: sputrace: Only enable logging on open(), prevent multiple openers
Currently, sputrace will start logging to the event buffer before the log buffer has been open()ed. This results in a heap of "lost samples" warnings if the sputrace file hasn't yet been opened. Since the buffer is reset on open() anyway, there's no need to enable logging when no-one has opened the log. Because open clears the log, make it return EBUSY for mutliple open calls. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'net/802/hippi.c')
0 files changed, 0 insertions, 0 deletions