From 03aca2c07e7db1fdd3cf5ef1a5f48ebb715e0169 Mon Sep 17 00:00:00 2001 From: guohao15 Date: Tue, 14 Nov 2023 18:53:19 +0800 Subject: [PATCH] rpmsgfs:add support FIOC_FILEPATH for rpmsgfs_ioctl Signed-off-by: guohao15 --- fs/rpmsgfs/rpmsgfs_client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/rpmsgfs/rpmsgfs_client.c b/fs/rpmsgfs/rpmsgfs_client.c index c4b9c82d48..6ee71894a8 100644 --- a/fs/rpmsgfs/rpmsgfs_client.c +++ b/fs/rpmsgfs/rpmsgfs_client.c @@ -393,6 +393,8 @@ static ssize_t rpmsgfs_ioctl_arglen(int cmd) case FIONWRITE: case FIONREAD: return sizeof(int); + case FIOC_FILEPATH: + return PATH_MAX; case FIOC_SETLK: case FIOC_GETLK: case FIOC_SETLKW: