From: Andrew Morton fs/autofs4/dev-ioctl.c: In function 'autofs_dev_ioctl_open_mountpoint': fs/autofs4/dev-ioctl.c:310: error: too few arguments to function 'dentry_open' Cc: Ian Kent Cc: David Howells Signed-off-by: Andrew Morton --- fs/autofs4/dev-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/autofs4/dev-ioctl.c~autofs4-add-miscellaneous-device-for-ioctls-fix-fix-3 fs/autofs4/dev-ioctl.c --- a/fs/autofs4/dev-ioctl.c~autofs4-add-miscellaneous-device-for-ioctls-fix-fix-3 +++ a/fs/autofs4/dev-ioctl.c @@ -307,7 +307,7 @@ static int autofs_dev_ioctl_open_mountpo goto out; } - filp = dentry_open(nd.path.dentry, nd.path.mnt, O_RDONLY); + filp = dentry_open(nd.path.dentry, nd.path.mnt, O_RDONLY, NULL); if (IS_ERR(filp)) { err = PTR_ERR(filp); goto out; _