summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/dir.c
diff options
context:
space:
mode:
authorWang Xibo <wang.xibo@zte.com.cn>2017-07-21 07:40:59 -0500
committerBob Peterson <rpeterso@redhat.com>2017-07-21 07:40:59 -0500
commite7cb550d79fba5876616ed33ccafafc4e2bd7e2e (patch)
tree76fd10251a232d6f1e8064b5f0f82fbb1262f063 /fs/gfs2/dir.c
parent98e5a91a6136af01198cfe9a3499f090718fd6ff (diff)
downloadop-kernel-dev-e7cb550d79fba5876616ed33ccafafc4e2bd7e2e.zip
op-kernel-dev-e7cb550d79fba5876616ed33ccafafc4e2bd7e2e.tar.gz
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: Wang Xibo<wang.xibo@zte.com.cn> Signed-off-by: Xiao Likun<xiao.likun@zte.com.cn> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/dir.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud