diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2008-10-15 13:16:18 +1100 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-10-21 11:12:54 +1100 |
commit | baf399273f2ea38e2fcbd4d0b6cc7ba7f7db43eb (patch) | |
tree | 02f5b1fcde3b32f3a64143c478c63685067d776e /net/mac80211 | |
parent | 04ab591808565f968d4406f6435090ad671ebdab (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/mac80211')
0 files changed, 0 insertions, 0 deletions