Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 2d9ac431 authored by Kaixu Xia's avatar Kaixu Xia Committed by Dave Chinner
Browse files

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: default avatarKaixu Xia <kaixuxia@tencent.com>
Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
parent 2229276c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment