--- x/drivers/android/binder_alloc.c +++ y/drivers/android/binder_alloc.c @@ -1245,10 +1245,12 @@ void binder_alloc_init(struct binder_all INIT_LIST_HEAD(&alloc->buffers); } +static struct lock_class_key key; int binder_alloc_shrinker_init(void) { int ret; + binder_freelist.key = &key; ret = list_lru_init(&binder_freelist); if (ret) return ret; --- x/fs/debugfs/file.c +++ y/fs/debugfs/file.c @@ -87,9 +87,6 @@ static int __debugfs_file_get(struct den if (!((unsigned long)d_fsd & DEBUGFS_FSDATA_IS_REAL_FOPS_BIT)) { fsd = d_fsd; } else { - if (WARN_ON(mode == DBGFS_GET_ALREADY)) - return -EINVAL; - fsd = kmalloc(sizeof(*fsd), GFP_KERNEL); if (!fsd) return -ENOMEM;