* [PATCH -next] fanotify: Remove unused extern declaration fsnotify_get_conn_fsid()
@ 2023-07-25 13:55 YueHaibing
2023-08-01 21:46 ` Jan Kara
0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2023-07-25 13:55 UTC (permalink / raw)
To: jack, amir73il, yuehaibing; +Cc: linux-fsdevel, linux-kernel
This is never used, so can remove it.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
include/linux/fsnotify_backend.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h
index d7d96c806bff..c0892d75ce33 100644
--- a/include/linux/fsnotify_backend.h
+++ b/include/linux/fsnotify_backend.h
@@ -760,9 +760,6 @@ extern void fsnotify_init_mark(struct fsnotify_mark *mark,
/* Find mark belonging to given group in the list of marks */
extern struct fsnotify_mark *fsnotify_find_mark(fsnotify_connp_t *connp,
struct fsnotify_group *group);
-/* Get cached fsid of filesystem containing object */
-extern int fsnotify_get_conn_fsid(const struct fsnotify_mark_connector *conn,
- __kernel_fsid_t *fsid);
/* attach the mark to the object */
extern int fsnotify_add_mark(struct fsnotify_mark *mark,
fsnotify_connp_t *connp, unsigned int obj_type,
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] fanotify: Remove unused extern declaration fsnotify_get_conn_fsid()
2023-07-25 13:55 [PATCH -next] fanotify: Remove unused extern declaration fsnotify_get_conn_fsid() YueHaibing
@ 2023-08-01 21:46 ` Jan Kara
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2023-08-01 21:46 UTC (permalink / raw)
To: YueHaibing; +Cc: jack, amir73il, linux-fsdevel, linux-kernel
On Tue 25-07-23 21:55:28, YueHaibing wrote:
> This is never used, so can remove it.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Thanks! I've added the patch to my tree.
Honza
> ---
> include/linux/fsnotify_backend.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h
> index d7d96c806bff..c0892d75ce33 100644
> --- a/include/linux/fsnotify_backend.h
> +++ b/include/linux/fsnotify_backend.h
> @@ -760,9 +760,6 @@ extern void fsnotify_init_mark(struct fsnotify_mark *mark,
> /* Find mark belonging to given group in the list of marks */
> extern struct fsnotify_mark *fsnotify_find_mark(fsnotify_connp_t *connp,
> struct fsnotify_group *group);
> -/* Get cached fsid of filesystem containing object */
> -extern int fsnotify_get_conn_fsid(const struct fsnotify_mark_connector *conn,
> - __kernel_fsid_t *fsid);
> /* attach the mark to the object */
> extern int fsnotify_add_mark(struct fsnotify_mark *mark,
> fsnotify_connp_t *connp, unsigned int obj_type,
> --
> 2.34.1
>
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-01 21:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-25 13:55 [PATCH -next] fanotify: Remove unused extern declaration fsnotify_get_conn_fsid() YueHaibing
2023-08-01 21:46 ` Jan Kara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).