Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fuse: drop unnecessary argument from fuse_lookup_init()

Remove the fuse_conn argument from function fuse_lookup_init() as it isn't
used since commit 21f621741a77 ("fuse: fix LOOKUP vs INIT compat
handling").

Signed-off-by: Luis Henriques <luis@igalia.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>

authored by

Luis Henriques and committed by
Miklos Szeredi
f595dda9 5223e047

+4 -5
+4 -5
fs/fuse/dir.c
··· 354 354 fuse_invalidate_entry_cache(entry); 355 355 } 356 356 357 - static void fuse_lookup_init(struct fuse_conn *fc, struct fuse_args *args, 358 - u64 nodeid, const struct qstr *name, 357 + static void fuse_lookup_init(struct fuse_args *args, u64 nodeid, 358 + const struct qstr *name, 359 359 struct fuse_entry_out *outarg) 360 360 { 361 361 memset(outarg, 0, sizeof(struct fuse_entry_out)); ··· 421 421 422 422 attr_version = fuse_get_attr_version(fm->fc); 423 423 424 - fuse_lookup_init(fm->fc, &args, get_node_id(dir), 425 - name, &outarg); 424 + fuse_lookup_init(&args, get_node_id(dir), name, &outarg); 426 425 ret = fuse_simple_request(fm, &args); 427 426 /* Zero nodeid is same as -ENOENT */ 428 427 if (!ret && !outarg.nodeid) ··· 569 570 attr_version = fuse_get_attr_version(fm->fc); 570 571 evict_ctr = fuse_get_evict_ctr(fm->fc); 571 572 572 - fuse_lookup_init(fm->fc, &args, nodeid, name, outarg); 573 + fuse_lookup_init(&args, nodeid, name, outarg); 573 574 err = fuse_simple_request(fm, &args); 574 575 /* Zero nodeid is same as -ENOENT, but with valid timeout */ 575 576 if (err || !outarg->nodeid)