mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
vfs: make first argument of dir_context.actor typed
Signed-off-by: Miklos Szeredi <[email protected]> Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
9f2f7d4c8d
commit
ac7576f4b1
19 changed files with 100 additions and 67 deletions
|
|
@ -104,11 +104,12 @@ struct osf_dirent_callback {
|
|||
};
|
||||
|
||||
static int
|
||||
osf_filldir(void *__buf, const char *name, int namlen, loff_t offset,
|
||||
u64 ino, unsigned int d_type)
|
||||
osf_filldir(struct dir_context *ctx, const char *name, int namlen,
|
||||
loff_t offset, u64 ino, unsigned int d_type)
|
||||
{
|
||||
struct osf_dirent __user *dirent;
|
||||
struct osf_dirent_callback *buf = (struct osf_dirent_callback *) __buf;
|
||||
struct osf_dirent_callback *buf =
|
||||
container_of(ctx, struct osf_dirent_callback, ctx);
|
||||
unsigned int reclen = ALIGN(NAME_OFFSET + namlen + 1, sizeof(u32));
|
||||
unsigned int d_ino;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue