summaryrefslogtreecommitdiff
path: root/tools/perf/bench/mem-memcpy-arch.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-02-04 15:25:01 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-05 16:11:57 -0500
commit32e19300a4f6705e79354cdadac3b2ef3cd0c309 (patch)
treeda9c2fe4a905848376792d45220c66173e045a1b /tools/perf/bench/mem-memcpy-arch.h
parent3d1a6333d90167f2b196f2cc0c2a988a10eb76c5 (diff)
aeroflex/greth: use napi_complete_done()
We plan to remove __napi_complete() soon, this driver is the last user. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/bench/mem-memcpy-arch.h')
0 files changed, 0 insertions, 0 deletions
ed hlist_del() and attempted to dereference > a m_hash.pprev that had been poisioned by another thread. Al Viro observed that the simple fix is to switch from using the namespace_sem to the mount_lock to protect the mountpoint hash table. I have taken Al's suggested patch moved put_mountpoint in pivot_root (instead of taking mount_lock an additional time), and have replaced new_mountpoint with get_mountpoint a function that does the hash table lookup and addition under the mount_lock. The introduction of get_mounptoint ensures that only the mount_lock is needed to manipulate the mountpoint hashtable. d_set_mounted is modified to only set DCACHE_MOUNTED if it is not already set. This allows get_mountpoint to use the setting of DCACHE_MOUNTED to ensure adding a struct mountpoint for a dentry happens exactly once. Cc: stable@vger.kernel.org Fixes: ce07d891a089 ("mnt: Honor MNT_LOCKED when detaching mounts") Reported-by: Krister Johansen <kjlx@templeofstupid.com> Suggested-by: Al Viro <viro@ZenIV.linux.org.uk> Acked-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'sound/soc/sunxi')