Home
last modified time | relevance | path

Searched refs:rmdir_req (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_client.c555 struct rmdir_request *rmdir_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_rmdir() local
557 .data = rmdir_req, in hmdfs_client_start_rmdir()
562 if (!rmdir_req) in hmdfs_client_start_rmdir()
565 rmdir_req->path_len = cpu_to_le32(path_len); in hmdfs_client_start_rmdir()
566 rmdir_req->name_len = cpu_to_le32(name_len); in hmdfs_client_start_rmdir()
567 strncpy(rmdir_req->path, path, path_len); in hmdfs_client_start_rmdir()
568 strncpy(rmdir_req->path + path_len + 1, name, name_len); in hmdfs_client_start_rmdir()
572 kfree(rmdir_req); in hmdfs_client_start_rmdir()