diff options
author | Kaixu Xia <kaixuxia@tencent.com> | 2022-04-21 08:47:54 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2022-04-21 08:47:54 +1000 |
commit | 2d9ac4319b9959bf3195fedf88bdfd224c67593b (patch) | |
tree | 87560bb74d20564a58d357241e85c9325c01976d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2229276c5283264b8c2241c1ed972bbb136cab22 (diff) |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions