Skip to content

Commit 267d1a0

Browse files
author
Andreas Gruenbacher
committed
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 <[email protected]>
1 parent ab8eecf commit 267d1a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/gfs2/ops_fstype.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ static int init_threads(struct gfs2_sbd *sdp)
11031103
struct task_struct *p;
11041104
int error = 0;
11051105

1106-
p = kthread_create(gfs2_logd, sdp, "gfs2_logd");
1106+
p = kthread_create(gfs2_logd, sdp, "gfs2_logd/%s", sdp->sd_fsname);
11071107
if (IS_ERR(p)) {
11081108
error = PTR_ERR(p);
11091109
fs_err(sdp, "can't create logd thread: %d\n", error);
@@ -1112,7 +1112,7 @@ static int init_threads(struct gfs2_sbd *sdp)
11121112
get_task_struct(p);
11131113
sdp->sd_logd_process = p;
11141114

1115-
p = kthread_create(gfs2_quotad, sdp, "gfs2_quotad");
1115+
p = kthread_create(gfs2_quotad, sdp, "gfs2_quotad/%s", sdp->sd_fsname);
11161116
if (IS_ERR(p)) {
11171117
error = PTR_ERR(p);
11181118
fs_err(sdp, "can't create quotad thread: %d\n", error);

0 commit comments

Comments
 (0)