linux-next: manual merge of the vfs-brauner tree with the nfs-anna tree
Subsystems (3)
Hi all,
Today's linux-next merge of the vfs-brauner tree got a conflict in:
fs/nfsd/filecache.c
between commit:
735aab1241ea ("nfsd: nfsd_file_acquire_local no longer returns GC'd nfsd_file")
from the nfs-anna tree and commits:
f905e00904cc ("tree-wide: s/revert_creds()/put_cred(revert_creds_light())/g") 51c0bcf0973a ("tree-wide: s/revert_creds_light()/revert_creds()/g")
from the vfs-brauner 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.
Signature · 17 lines
Cheers, Stephen Rothwell diff --cc fs/nfsd/filecache.c index 2adf95e2b379,dc5c9d8e8202..000000000000 --- a/fs/nfsd/filecache.c +++ b/fs/nfsd/filecache.c @@@ -1255,8 -1247,8 +1255,8 @@@ nfsd_file_acquire_local(struct net *net __be32 beres; beres = nfsd_file_do_acquire(NULL, net, cred, client, - fhp, may_flags, NULL, pnf, true); + fhp, may_flags, NULL, pnf, false); - revert_creds(save_cred); + put_cred(revert_creds(save_cred)); return beres; }
Hi all,
Quoted 33 lines · On Thu, 9 Jan 2025 08:45:03 +1100 Stephen Rothwell <[email protected]> wrote:
Today's linux-next merge of the vfs-brauner tree got a conflict in:
fs/nfsd/filecache.cbetween commit:
735aab1241ea("nfsd:nfsd_file_acquire_localno longer returns GC'dnfsd_file")from the nfs-anna tree and commits:
f905e00904cc("tree-wide: s/revert_creds()/put_cred(revert_creds_light())/g")51c0bcf0973a("tree-wide: s/revert_creds_light()/revert_creds()/g")from the vfs-brauner 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.
Signature · 2 lines
Cheers, Stephen Rothwellfs/nfsd/filecache.c +0
-0
fs/nfsd/filecache.c
Quoted 9 lines
fs/nfsd/filecache.c +1
-1@@@ -1255,8 -1247,8 +1255,8 @@@ nfsd_file_acquire_local(struct net *net__be32 beres; beres =nfsd_file_do_acquire (NULL , net, cred, client, - fhp, may_flags,NULL , pnf, true); + fhp, may_flags, NULL, pnf, false); -revert_creds (save_cred); +put_cred (revert_creds (save_cred));return beres; }
This is now a conflict between the nfs-anna tree and Linus' tree.
Signature · 2 lines
Cheers, Stephen Rothwell