From 8b10fe68985278de4926daa56ad6af701839e40a Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Mon, 10 Aug 2020 10:21:39 -0400 Subject: fscrypt: drop unused inode argument from fscrypt_fname_alloc_buffer Signed-off-by: Jeff Layton Link: https://lore.kernel.org/r/20200810142139.487631-1-jlayton@kernel.org Signed-off-by: Eric Biggers --- fs/ubifs/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/ubifs/dir.c') diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c index 9d042942d8b2..a9c1f5a9c9bd 100644 --- a/fs/ubifs/dir.c +++ b/fs/ubifs/dir.c @@ -515,7 +515,7 @@ static int ubifs_readdir(struct file *file, struct dir_context *ctx) if (err) return err; - err = fscrypt_fname_alloc_buffer(dir, UBIFS_MAX_NLEN, &fstr); + err = fscrypt_fname_alloc_buffer(UBIFS_MAX_NLEN, &fstr); if (err) return err; -- cgit v1.2.3