From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Al Viro <viro@ZenIV•linux.org.uk>, Theodore Ts'o <tytso@mit•edu>,
Eric Biggers <ebiggers@kernel•org>
Cc: Linux Next Mailing List <linux-next@vger•kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger•kernel.org>
Subject: linux-next: manual merge of the vfs tree with the fscrypt tree
Date: Fri, 3 May 2019 11:09:51 +1000 [thread overview]
Message-ID: <20190503110951.2df97b8c@canb.auug.org.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 1865 bytes --]
Hi all,
Today's linux-next merge of the vfs tree got a conflict in:
fs/ext4/super.c
fs/f2fs/super.c
between commit:
2c58d548f570 ("fscrypt: cache decrypted symlink target in ->i_link")
from the fscrypt tree and commits:
94053139d482 ("ext4: make use of ->free_inode()")
d01718a050d0 ("f2fs: switch to ->free_inode()")
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.
Thanks, Al, for the heads up and example merge.
--
Cheers,
Stephen Rothwell
diff --cc fs/ext4/super.c
index 489cdeeab789,981f702848e7..000000000000
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@@ -1111,12 -1107,8 +1111,9 @@@ static int ext4_drop_inode(struct inod
return drop;
}
- static void ext4_i_callback(struct rcu_head *head)
+ static void ext4_free_in_core_inode(struct inode *inode)
{
- struct inode *inode = container_of(head, struct inode, i_rcu);
-
+ fscrypt_free_inode(inode);
-
kmem_cache_free(ext4_inode_cachep, EXT4_I(inode));
}
diff --cc fs/f2fs/super.c
index f7605b3ff1f9,9924eac76254..000000000000
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@@ -1000,12 -1000,8 +1000,9 @@@ static void f2fs_dirty_inode(struct ino
f2fs_inode_dirtied(inode, false);
}
- static void f2fs_i_callback(struct rcu_head *head)
+ static void f2fs_free_inode(struct inode *inode)
{
- struct inode *inode = container_of(head, struct inode, i_rcu);
-
+ fscrypt_free_inode(inode);
-
kmem_cache_free(f2fs_inode_cachep, F2FS_I(inode));
}
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2019-05-03 1:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-03 1:09 Stephen Rothwell [this message]
2019-05-08 1:04 ` linux-next: manual merge of the vfs tree with the fscrypt tree Stephen Rothwell
-- strict thread matches above, loose matches on Subject: below --
2018-12-17 23:36 Stephen Rothwell
2018-12-03 0:23 Stephen Rothwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190503110951.2df97b8c@canb.auug.org.au \
--to=sfr@canb$(echo .)auug.org.au \
--cc=ebiggers@kernel$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=tytso@mit$(echo .)edu \
--cc=viro@ZenIV$(echo .)linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox