diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-12-08 16:41:51 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-12-15 17:29:32 -0800 |
commit | e659750c94e5a1c7b9398396e47ee00749d8973e (patch) | |
tree | a3df92f3481bd0469de71e546bfd02025a852a3d /fs/xfs/scrub/tempfile.c | |
parent | 90d15e3e9dcd303fbb36e9a54e7c36457ff9a254 (diff) |
xfs: merge the two symlink inode_operations
It's really awkward that we maintain two separate VFS inode operations
structures and functions for handling symlinks, because that means
online repair potentially has to switch iops after fixing a symlink.
Merge them into one to obviate the need for this.
Furthermore, this fixes the issue of the VFS readlink functions
retaining a pointer to if_data after the inode has been recycled;
protects XFS against the VFS altering the contents of internal metadata
buffers (if_data); and shuts down complaints about us accessing the
inode data fork without taking any locks. In the past, we've skirted
these issues because symlink targets are basically immutable, but this
won't be the case with online repair.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/tempfile.c')
0 files changed, 0 insertions, 0 deletions