mirror of
https://github.com/versity/scoutfs.git
synced 2025-12-23 05:25:18 +00:00
Fix a sparse warning in net.c
This commit is contained in:
@@ -533,7 +533,7 @@ static void queue_ordered_proc(struct scoutfs_net_connection *conn, struct messa
|
||||
u32 h;
|
||||
|
||||
if (WARN_ON_ONCE(mrecv->nh.cmd != SCOUTFS_NET_CMD_LOCK ||
|
||||
mrecv->nh.data_len != sizeof(struct scoutfs_net_lock)))
|
||||
le16_to_cpu(mrecv->nh.data_len) != sizeof(struct scoutfs_net_lock)))
|
||||
return scoutfs_net_proc_worker(&mrecv->proc_work);
|
||||
|
||||
nl = (void *)mrecv->nh.data;
|
||||
|
||||
Reference in New Issue
Block a user