From b938d6d6e0e54b4ddc10355255d6053fbc0882af Mon Sep 17 00:00:00 2001 From: liuzerun Date: Fri, 10 Jan 2025 15:25:04 +0800 Subject: [PATCH] cherry pick b17efe7 from https://gitee.com/runrunya/kernel_linux_5.10/pulls/1750 developer Signed-off-by: liuzerun --- fs/hmdfs/super.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fs/hmdfs/super.c b/fs/hmdfs/super.c index 7de0971ede4f..c55fb56a6bef 100644 --- a/fs/hmdfs/super.c +++ b/fs/hmdfs/super.c @@ -23,6 +23,7 @@ enum { OPT_NO_OFFLINE_STASH, OPT_NO_DENTRY_CACHE, OPT_USER_ID, + OPT_DEVELOPER, OPT_ERR, }; @@ -37,6 +38,7 @@ static match_table_t hmdfs_tokens = { { OPT_NO_OFFLINE_STASH, "no_offline_stash" }, { OPT_NO_DENTRY_CACHE, "no_dentry_cache" }, { OPT_USER_ID, "user_id=%s"}, + { OPT_DEVELOPER, "developer"}, { OPT_ERR, NULL }, }; @@ -162,6 +164,8 @@ int hmdfs_parse_options(struct hmdfs_sb_info *sbi, const char *data) sbi->user_id = user_id; } break; + case OPT_DEVELOPER: + break; default: err = -EINVAL; goto out; -- Gitee