Displaying 1 result from an estimated 1 matches for "fs_value_is_str".
2023 Jun 06
0
[bug report] ocfs2/cluster: Pin/unpin o2hb regions
...{
--> 178                 param.string = kmemdup_nul(value, v_size, GFP_KERNEL);
                                                                  ^^^^^^^^^^
Sleeping
    179                 if (!param.string)
    180                         return -ENOMEM;
    181                 param.type = fs_value_is_string;
    182         }
    183 
    184         ret = vfs_parse_fs_param(fc, ¶m);
    185         kfree(param.string);
    186         return ret;
    187 }
There are a couple OCFS functions which call this sleeping function
while holding a spinlock.
o2hb_heartbeat_group_drop_item() <-...