summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trans.h
diff options
context:
space:
mode:
authorKaixu Xia <kaixuxia@tencent.com>2022-04-21 08:47:54 +1000
committerDave Chinner <david@fromorbit.com>2022-04-21 08:47:54 +1000
commit2d9ac4319b9959bf3195fedf88bdfd224c67593b (patch)
tree87560bb74d20564a58d357241e85c9325c01976d /fs/xfs/xfs_trans.h
parent2229276c5283264b8c2241c1ed972bbb136cab22 (diff)
downloadlinux-stable-2d9ac4319b9959bf3195fedf88bdfd224c67593b.tar.gz
linux-stable-2d9ac4319b9959bf3195fedf88bdfd224c67593b.tar.bz2
linux-stable-2d9ac4319b9959bf3195fedf88bdfd224c67593b.zip
xfs: simplify local variable assignment in file write code
Get the struct inode pointer from iocb->ki_filp->f_mapping->host directly and the other variables are unnecessary, so simplify the local variables assignment. Signed-off-by: Kaixu Xia <kaixuxia@tencent.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_trans.h')
0 files changed, 0 insertions, 0 deletions