diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-07-02 20:22:47 +0200 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-07-02 20:37:00 +0200 |
commit | 62bbf50bea21b1c76990fd1bae58a65660a11c27 (patch) | |
tree | 60a679740ba0a7e763ab92dc5194c557b0f00ee3 /fs/xfs/xfs_symlink.c | |
parent | xfs: create libxfs helper to rename two directory entries (diff) | |
download | linux-62bbf50bea21b1c76990fd1bae58a65660a11c27.tar.xz linux-62bbf50bea21b1c76990fd1bae58a65660a11c27.zip |
xfs: move dirent update hooks to xfs_dir2.c
Move the directory entry update hook code to xfs_dir2 so that it is
mostly consolidated with the higher level directory functions. Retain
the exports so that online fsck can still send notifications through the
hooks.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_symlink.c')
-rw-r--r-- | fs/xfs/xfs_symlink.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_symlink.c b/fs/xfs/xfs_symlink.c index c0f5c2e1f215..77f19e2f66e0 100644 --- a/fs/xfs/xfs_symlink.c +++ b/fs/xfs/xfs_symlink.c @@ -200,8 +200,6 @@ xfs_symlink( if (error) goto out_trans_cancel; - xfs_dir_update_hook(dp, du.ip, 1, link_name); - /* * If this is a synchronous mount, make sure that the * symlink transaction goes to disk before returning to |