diff options
author | sjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com> | 2011-05-13 02:44:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-15 17:45:56 -0400 |
commit | 33b2f5598b4ee68021364a7b795c09ad66bc0aa8 (patch) | |
tree | f6516cd969e54d39ecd6ff5caf0fb15906373dce /net/caif/cfcnfg.c | |
parent | c85c2951d4da1236e32f1858db418221e624aba5 (diff) | |
download | op-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/cfcnfg.c')
0 files changed, 0 insertions, 0 deletions