[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20221004095623.2e5590ad@canb.auug.org.au>
Date: Tue, 4 Oct 2022 09:56:23 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Al Viro <viro@...IV.linux.org.uk>, Jan Kara <jack@...e.cz>
Cc: Gaosheng Cui <cuigaosheng1@...wei.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: manual merge of the vfs tree with the ext3 tree
Hi all,
Today's linux-next merge of the vfs tree got a conflict in:
fs/notify/fanotify/fanotify.h
between commit:
7a80bf902d2b ("fanotify: Remove obsoleted fanotify_event_has_path()")
from the ext3 tree and commit:
d5bf88895f24 ("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.
--
Cheers,
Stephen Rothwell
diff --cc fs/notify/fanotify/fanotify.h
index b34246c6ec87,bf6d4d38afa0..000000000000
--- 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;
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists