mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 06:21:31 +00:00
vfs: make first argument of dir_context.actor typed
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
9f2f7d4c8d
commit
ac7576f4b1
19 changed files with 100 additions and 67 deletions
|
@ -548,10 +548,11 @@ struct hppfs_dirent {
|
|||
struct dentry *dentry;
|
||||
};
|
||||
|
||||
static int hppfs_filldir(void *d, const char *name, int size,
|
||||
static int hppfs_filldir(struct dir_context *ctx, const char *name, int size,
|
||||
loff_t offset, u64 inode, unsigned int type)
|
||||
{
|
||||
struct hppfs_dirent *dirent = d;
|
||||
struct hppfs_dirent *dirent =
|
||||
container_of(ctx, struct hppfs_dirent, ctx);
|
||||
|
||||
if (file_removed(dirent->dentry, name))
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue