summaryrefslogtreecommitdiff
path: root/fs/attr.c
diff options
context:
space:
mode:
authorChris Rankin <rankincj@yahoo.com>2011-08-20 08:21:03 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-03 20:49:51 -0300
commit38b61eb2dac06fdc42815b004e9824d8196cfcfb (patch)
tree9a6a74936ab7c4d7d33511b247b0d745373caf9c /fs/attr.c
parentf38f33395232db1a03d21b992af1714cbffbdec4 (diff)
[media] em28xx: use atomic bit operations for devices-in-use mask
Use atomic bit operations for the em28xx_devused mask, to prevent an unlikely race condition should two adapters be plugged in simultaneously. The operations also clearer than explicit bit manipulation anyway. Signed-off-by: Chris Rankin <rankincj@yahoo.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions