]> Git Repo - linux.git/commit
erofs: better erofs symlink stuffs
authorGao Xiang <[email protected]>
Wed, 4 Sep 2019 02:08:59 +0000 (10:08 +0800)
committerGreg Kroah-Hartman <[email protected]>
Thu, 5 Sep 2019 18:10:07 +0000 (20:10 +0200)
commita2c75c8143eaa8f7404dae3df98fe43ebaafce16
treedc93e790f28cae1fcd01be9e2c3443a7f2431eab
parent2d78c209b988b859ddc330ffbce78d66229c1d05
erofs: better erofs symlink stuffs

Fix as Christoph suggested [1] [2], "remove is_inode_fast_symlink
and just opencode it in the few places using it"

and
"Please just set the ops directly instead of obsfucating that in
a single caller, single line inline function.  And please set it
instead of the normal symlink iops in the same place where you
also set those."

[1] https://lore.kernel.org/r/20190830163910[email protected]/
[2] https://lore.kernel.org/r/20190829102426[email protected]/
Reported-by: Christoph Hellwig <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
fs/erofs/inode.c
fs/erofs/internal.h
fs/erofs/super.c
This page took 0.054703 seconds and 4 git commands to generate.