summaryrefslogtreecommitdiff
path: root/fs/afs/proc.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2025-02-24 10:37:56 +0000
committerDavid Howells <dhowells@redhat.com>2025-03-10 09:47:15 +0000
commit92c48157ade88e7a543a64af4a806613fbde2ef3 (patch)
tree61cf7e677920db66c51ed6571e3cee1b38025f47 /fs/afs/proc.c
parent76daa300d41acc1180f8a46eead36905054beafb (diff)
afs: Make afs_lookup_cell() take a trace note
Pass a note to be added to the afs_cell tracepoint to afs_lookup_cell() so that different callers can be distinguished. Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org cc: linux-fsdevel@vger.kernel.org Link: https://lore.kernel.org/r/20250224234154.2014840-11-dhowells@redhat.com/ # v1 Link: https://lore.kernel.org/r/20250310094206.801057-7-dhowells@redhat.com/ # v4
Diffstat (limited to 'fs/afs/proc.c')
-rw-r--r--fs/afs/proc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/afs/proc.c b/fs/afs/proc.c
index 12c88d8be3fe..fc7027fc3084 100644
--- a/fs/afs/proc.c
+++ b/fs/afs/proc.c
@@ -122,7 +122,8 @@ static int afs_proc_cells_write(struct file *file, char *buf, size_t size)
if (strcmp(buf, "add") == 0) {
struct afs_cell *cell;
- cell = afs_lookup_cell(net, name, strlen(name), args, true);
+ cell = afs_lookup_cell(net, name, strlen(name), args, true,
+ afs_cell_trace_use_lookup_add);
if (IS_ERR(cell)) {
ret = PTR_ERR(cell);
goto done;