summaryrefslogtreecommitdiffstats
path: root/net/caif/cfutill.c
diff options
context:
space:
mode:
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>2011-05-13 02:44:07 +0000
committerDavid S. Miller <davem@davemloft.net>2011-05-15 17:45:56 -0400
commit33b2f5598b4ee68021364a7b795c09ad66bc0aa8 (patch)
treef6516cd969e54d39ecd6ff5caf0fb15906373dce /net/caif/cfutill.c
parentc85c2951d4da1236e32f1858db418221e624aba5 (diff)
downloadop-kernel-dev-33b2f5598b4ee68021364a7b795c09ad66bc0aa8.zip
op-kernel-dev-33b2f5598b4ee68021364a7b795c09ad66bc0aa8.tar.gz
caif: Bugfix debugfs directory name must be unique.
Race condition caused debugfs_create_dir() to fail due to duplicate name. Use atomic counter to create unique directory name. net_ratelimit() is introduced to limit debug printouts. Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/cfutill.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud