Commit 92aa2e2c authored by Jinjiang Tu's avatar Jinjiang Tu
Browse files

fs: move {lock, unlock}_mount_hash to fs/mount.h

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8PWEP


CVE: NA

--------------------------------------

commit d033cb67 ("mount: make {lock,unlock}_mount_hash() static")
moves {lock, unlock}_mount_hash to fs/namespace.c due to the two
functions are only used in the file.

memcg_memfs_info feature needs to reference the two functions, move
them back to fs/mount.h.

Signed-off-by: default avatarJinjiang Tu <tujinjiang@huawei.com>
parent 6d225089
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment