summaryrefslogtreecommitdiff
path: root/fs/dlm/dir.h
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2024-04-02 22:18:01 +0300
committerDavid Teigland <teigland@redhat.com>2024-04-09 19:44:49 +0300
commit3a747f4a2ee85d51b905e2df940de4a924f8060a (patch)
tree3ae4c45fffec087de34738e3d1b327575c734ebb /fs/dlm/dir.h
parentaff46e0f24cd3adc54ec83f4cf834ff9ccb69307 (diff)
downloadlinux-3a747f4a2ee85d51b905e2df940de4a924f8060a.tar.xz
dlm: move rsb root_list to ls_recover() stack
Move the rsb root_list from the lockspace to a stack variable since it is now only used by the ls_recover() function. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/dir.h')
-rw-r--r--fs/dlm/dir.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/dlm/dir.h b/fs/dlm/dir.h
index 39ecb69d7ef3..5b2a7ee3762d 100644
--- a/fs/dlm/dir.h
+++ b/fs/dlm/dir.h
@@ -14,7 +14,8 @@
int dlm_dir_nodeid(struct dlm_rsb *rsb);
int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash);
-void dlm_recover_dir_nodeid(struct dlm_ls *ls);
+void dlm_recover_dir_nodeid(struct dlm_ls *ls,
+ const struct list_head *root_list);
int dlm_recover_directory(struct dlm_ls *ls, uint64_t seq);
void dlm_copy_master_names(struct dlm_ls *ls, const char *inbuf, int inlen,
char *outbuf, int outlen, int nodeid);