Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e7cb550d authored by Wang Xibo's avatar Wang Xibo Committed by Bob Peterson
Browse files

GFS2: fix code parameter error in inode_go_lock



In inode_go_lock() function, the parameter order of list_add() is error.
According to the define of list_add(), the first parameter is new entry
and the second is the list head, so ip->i_trunc_list should be the
first parameter and the sdp->sd_trunc_list should be second.

Signed-off-by: default avatarWang <Xibo&lt;wang.xibo@zte.com.cn>
Signed-off-by: default avatarXiao <Likun&lt;xiao.likun@zte.com.cn>
Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
parent 98e5a91a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment