Re: [PATCH] GFS2: fix code parameter error in inode_go_lock

2017-07-21 Thread Bob Peterson
- Original Message - | 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

[PATCH] GFS2: fix code parameter error in inode_go_lock

2017-07-20 Thread Wang Xibo
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: Wang Xibo