unix: uses an atomic type for scm files accounting
So the scm_stat_{add,del} helper can be invoked with no
additional lock held.
This clean-up the code a bit and will make the next
patch easier.
Signed-off-by:
Paolo Abeni <pabeni@redhat.com>
Reviewed-by:
Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
Please sign in to comment