summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2023-08-28 19:05:44 +0300
committerAndreas Gruenbacher <agruenba@redhat.com>2023-09-05 16:58:17 +0300
commit267d1a011ec2345a320e84c16d8b91411f165aa8 (patch)
tree460dad283af7acb538f8c918e1323de5190d8d11 /fs
parentab8eecf5d0a7b8e8b06e282aeb051dc37eecaf21 (diff)
downloadlinux-267d1a011ec2345a320e84c16d8b91411f165aa8.tar.xz
gfs2: Add device name to gfs2_logd and gfs2_quotad
Add the device name to the names of the gfs2_logd and gfs2_quotad kernel threads to allow for easier identification. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/gfs2/ops_fstype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index a1a8be56ead5..bcbe95229e89 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -1103,7 +1103,7 @@ static int init_threads(struct gfs2_sbd *sdp)
struct task_struct *p;
int error = 0;
- p = kthread_create(gfs2_logd, sdp, "gfs2_logd");
+ p = kthread_create(gfs2_logd, sdp, "gfs2_logd/%s", sdp->sd_fsname);
if (IS_ERR(p)) {
error = PTR_ERR(p);
fs_err(sdp, "can't create logd thread: %d\n", error);
@@ -1112,7 +1112,7 @@ static int init_threads(struct gfs2_sbd *sdp)
get_task_struct(p);
sdp->sd_logd_process = p;
- p = kthread_create(gfs2_quotad, sdp, "gfs2_quotad");
+ p = kthread_create(gfs2_quotad, sdp, "gfs2_quotad/%s", sdp->sd_fsname);
if (IS_ERR(p)) {
error = PTR_ERR(p);
fs_err(sdp, "can't create quotad thread: %d\n", error);