lkml.org 
[lkml]   [2022]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectlinux-next: manual merge of the vfs tree with the ext3 tree
Date
Hi all,

Today's linux-next merge of the vfs tree got a conflict in:

fs/notify/fanotify/fanotify.h

between commit:

7a80bf902d2bc ("fanotify: Remove obsoleted fanotify_event_has_path()")

from the ext3 tree and commit:

d5bf88895f246 ("fs/notify: constify path")

from the vfs tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

diff --cc fs/notify/fanotify/fanotify.h
index b34246c6ec87e,bf6d4d38afa04..0000000000000
--- a/fs/notify/fanotify/fanotify.h
+++ b/fs/notify/fanotify/fanotify.h
@@@ -452,7 -452,13 +452,7 @@@ static inline bool fanotify_is_error_ev
return mask & FAN_FS_ERROR;
}

- static inline struct path *fanotify_event_path(struct fanotify_event *event)
-static inline bool fanotify_event_has_path(struct fanotify_event *event)
-{
- return event->type == FANOTIFY_EVENT_TYPE_PATH ||
- event->type == FANOTIFY_EVENT_TYPE_PATH_PERM;
-}
-
+ static inline const struct path *fanotify_event_path(struct fanotify_event *event)
{
if (event->type == FANOTIFY_EVENT_TYPE_PATH)
return &FANOTIFY_PE(event)->path;

\
 
 \ /
  Last update: 2022-09-26 16:41    [W:0.018 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site