X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fafs%2Fproc.c;h=096b23f821a1081a2370df2de59276c9d08b807f;hb=08b5d06ec6cff1d952f13cfcffcbf41ff0ce2c86;hp=852739d262a9f7eecff472d33845adb2a0a310f0;hpb=52c7b3f45dbf19359be60a95b8678656e73ce42b;p=karo-tx-linux.git diff --git a/fs/afs/proc.c b/fs/afs/proc.c index 852739d262a9..096b23f821a1 100644 --- a/fs/afs/proc.c +++ b/fs/afs/proc.c @@ -294,7 +294,7 @@ static ssize_t afs_proc_cells_write(struct file *file, const char __user *buf, if (strcmp(kbuf, "add") == 0) { struct afs_cell *cell; - cell = afs_cell_create(name, args); + cell = afs_cell_create(name, strlen(name), args, false); if (IS_ERR(cell)) { ret = PTR_ERR(cell); goto done;