mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull misc leftovers from Al Viro. * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: fix the __user misannotations in asm-generic get_user/put_user fput: Don't reinvent the wheel but use existing llist API namespace.c: Don't reinvent the wheel but use existing llist API
This commit is contained in:
commit
9e0ce554b0
3 changed files with 12 additions and 16 deletions
|
|
@ -1182,12 +1182,10 @@ static LLIST_HEAD(delayed_mntput_list);
|
|||
static void delayed_mntput(struct work_struct *unused)
|
||||
{
|
||||
struct llist_node *node = llist_del_all(&delayed_mntput_list);
|
||||
struct llist_node *next;
|
||||
struct mount *m, *t;
|
||||
|
||||
for (; node; node = next) {
|
||||
next = llist_next(node);
|
||||
cleanup_mnt(llist_entry(node, struct mount, mnt_llist));
|
||||
}
|
||||
llist_for_each_entry_safe(m, t, node, mnt_llist)
|
||||
cleanup_mnt(m);
|
||||
}
|
||||
static DECLARE_DELAYED_WORK(delayed_mntput_work, delayed_mntput);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue