summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs
diff options
context:
space:
mode:
authorStephen Hemminger <sthemmin@microsoft.com>2016-08-23 12:17:44 -0700
committerDavid S. Miller <davem@davemloft.net>2016-08-23 12:05:35 -0700
commit8737caafd16790c654f1fb8564abcf6e1f3ffe19 (patch)
tree910e30f75dec9d9ac29fe9b3d16457dc787708c4 /fs/ecryptfs
parent01555e64491438a8676f30dbd3fa464417a42e5b (diff)
downloadtalos-obmc-linux-8737caafd16790c654f1fb8564abcf6e1f3ffe19.tar.gz
talos-obmc-linux-8737caafd16790c654f1fb8564abcf6e1f3ffe19.zip
hv_netvsc: fix rtnl locking in callback
The function get_netvsc_net_device had conditional locking. This was unnecessary, incorrect, but harmless. It was unnecessary since the code is only called from netlink netdev event callback where RTNL is always acquired before the callbacks are run. It was incorrect because of use of trylock and then continuing. Fix by replacing with proper assertion. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud