linux-next: manual merge of the cifs tree with the fscache tree
Subsystems (3)
[email protected]
maintainerHi all,
Today's linux-next merge of the cifs tree got a conflict in:
fs/cifs/inode.c
between commit:
830c476f5eb82 ("cifs: Support fscache indexing rewrite (untested)")
from the fscache tree and commit:
68f87ec9c1ce3 ("cifs: ignore resource_id while getting fscache super cookie")
from the cifs 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.
fs/cifs/inode.c +0 -0
@@@ -1372,20 -1370,6 +1367,7 @@@ iget_no_retryiget_failed (inode); inode =ERR_PTR (rc); } + - if (!rc) { -/* -* The cookie is initialized from volume info returned above. -* Inside cifs_fscache_get_super_cookie it checks -* that we do not get super cookie twice. -*/ - rc =cifs_fscache_get_super_cookie (tcon); -if (rc <0 ) { -iget_failed (inode); - inode =ERR_PTR (rc); - } - } - out:kfree (path);free_xid (xid);
David,
This cifs fscache fix should be upstream soon, so you should be able to update the fscache series ontop of updated kernel soon
Quoted 49 lines · On Thu, Dec 16, 2021 at 6:43 AM <[email protected]> wrote:
Hi all,
Today's linux-next merge of the cifs tree got a conflict in:
fs/cifs/inode.cbetween commit:
830c476f5eb82("cifs: Support fscache indexing rewrite (untested)")from the fscache tree and commit:
68f87ec9c1ce3("cifs: ignoreresource_idwhile getting fscache super cookie")from the cifs 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.
fs/cifs/inode.c +0
-13@@@ -1372,20 -1370,6 +1367,7 @@@ iget_no_retryiget_failed (inode); inode =ERR_PTR (rc); } + - if (!rc) { -/* -* The cookie is initialized from volume info returned above. -* Inside cifs_fscache_get_super_cookie it checks -* that we do not get super cookie twice. -*/ - rc =cifs_fscache_get_super_cookie (tcon); -if (rc <0 ) { -iget_failed (inode); - inode =ERR_PTR (rc); - } - } - out:kfree (path);free_xid (xid);
Signature · 3 lines
Thanks, Steve
Quoted 2 lines · Steve French
This cifs fscache fix should be upstream soon, so you should be able to update the fscache series ontop of updated kernel soon
Thanks.
David
Hi all,
Quoted 5 lines · On Thu, 16 Dec 2021 12:43:17 +0000 [email protected] wrote:
Today's linux-next merge of the cifs tree got a conflict in:
fs/cifs/inode.c
Quoted 7 lines
between commit:
830c476f5eb82("cifs: Support fscache indexing rewrite (untested)")from the fscache tree and commit:
68f87ec9c1ce3("cifs: ignoreresource_idwhile getting fscache super cookie")
This is now commit
b774302e8856 ("cifs: ignore resource_id while getting fscache super cookie")
in Linus' tree.
Quoted 17 lines
from the cifs tree.
fs/cifs/inode.c +0
-6@@@ -1372,20 -1370,6 +1367,7 @@@ iget_no_retryiget_failed (inode); inode =ERR_PTR (rc); } + - if (!rc) { -/* -* The cookie is initialized from volume info returned above. -* Inside cifs_fscache_get_super_cookie it checks -* that we do not get super cookie twice. -*/
fs/cifs/inode.c
Quoted 10 lines
fs/cifs/inode.c +0
-7- rc =cifs_fscache_get_super_cookie (tcon); -if (rc <0 ) { -iget_failed (inode); - inode =ERR_PTR (rc); - } - } - out:kfree (path);free_xid (xid);
so this is now a conflict between the fscache tree and Linus's tree.
Signature · 2 lines
Cheers, Stephen Rothwell
-----Original Message-----
From: Stephen Rothwell <[email protected]>
Sent: Monday, December 20, 2021 5:16 AM
To: David Howells <[email protected]>
Cc: [email protected]; Steve French <[email protected]>; CIFS <[email protected]>; Linux Kernel Mailing List <[email protected]>; Linux Next Mailing List <[email protected]>; Shyam Prasad <[email protected]>; Steven French <[email protected]>
Subject: [EXTERNAL] Re: linux-next: manual merge of the cifs tree with the fscache tree
Hi all,
Quoted 5 lines · On Thu, 16 Dec 2021 12:43:17 +0000 [email protected] wrote:
Today's linux-next merge of the cifs tree got a conflict in:
fs/cifs/inode.c
Quoted 7 lines
between commit:
830c476f5eb82("cifs: Support fscache indexing rewrite (untested)")from the fscache tree and commit:
68f87ec9c1ce3("cifs: ignoreresource_idwhile getting fscache super cookie")
This is now commit
b774302e8856 ("cifs: ignore resource_id while getting fscache super cookie")
in Linus' tree.
Quoted 17 lines
from the cifs tree.
fs/cifs/inode.c +0
-6@@@ -1372,20 -1370,6 +1367,7 @@@ iget_no_retryiget_failed (inode); inode =ERR_PTR (rc); } + - if (!rc) { -/* -* The cookie is initialized from volume info returned above. -* Inside cifs_fscache_get_super_cookie it checks -* that we do not get super cookie twice. -*/
fs/cifs/inode.c
Quoted 10 lines
fs/cifs/inode.c +0
-7- rc =cifs_fscache_get_super_cookie (tcon); -if (rc <0 ) { -iget_failed (inode); - inode =ERR_PTR (rc); - } - } - out:kfree (path);free_xid (xid);
so this is now a conflict between the fscache tree and Linus's tree.
Signature · 4 lines
Cheers, Stephen Rothwell =================================
Quoted 1 line
so this is now a conflict between the fscache tree and Linus's tree.
Hi David and Steve,
I think one of these two branches need to be rebased. Can one of you please do it?
Regards,
Shyam
Hi Shyam,
Quoted 51 lines · On Mon, 20 Dec 2021 04:31:27 +0000 Shyam Prasad <[email protected]>…
-----Original Message-----
From: Stephen Rothwell <[email protected]>
Sent: Monday, December 20, 2021 5:16 AM
To: David Howells <[email protected]>
Cc: [email protected]; Steve French <[email protected]>; CIFS <[email protected]>; Linux Kernel Mailing List <[email protected]>; Linux Next Mailing List <[email protected]>; Shyam Prasad <[email protected]>; Steven French <[email protected]>
Subject: [EXTERNAL] Re: linux-next: manual merge of the cifs tree with the fscache treeHi all,
Quoted 5 lines · On Thu, 16 Dec 2021 12:43:17 +0000 [email protected] wrote:
Today's linux-next merge of the cifs tree got a conflict in:
fs/cifs/inode.cQuoted 7 lines
between commit:
830c476f5eb82("cifs: Support fscache indexing rewrite (untested)")from the fscache tree and commit:
68f87ec9c1ce3("cifs: ignoreresource_idwhile getting fscache super cookie")This is now commit
b774302e8856("cifs: ignoreresource_idwhile getting fscache super cookie")in Linus' tree.
Quoted 21 lines
from the cifs tree.
fs/cifs/inode.c +0
-10@@@ -1372,20 -1370,6 +1367,7 @@@ iget_no_retryiget_failed (inode); inode =ERR_PTR (rc); } + - if (!rc) { -/* -* The cookie is initialized from volume info returned above. -* Inside cifs_fscache_get_super_cookie it checks -* that we do not get super cookie twice. -*/ - rc =cifs_fscache_get_super_cookie (tcon); -if (rc <0 ) { -iget_failed (inode); - inode =ERR_PTR (rc);
Quoted 19 lines
fs/cifs/inode.c
Quoted 6 lines
fs/cifs/inode.c +0
-3- } - } - out:kfree (path);free_xid (xid);so this is now a conflict between the fscache tree and Linus's tree.
Signature · 4 lines
Cheers, Stephen Rothwell =================================Quoted 1 line
so this is now a conflict between the fscache tree and Linus's tree.
Hi David and Steve,
I think one of these two branches need to be rebased. Can one of you please do it?
Nothing needs t be done, the conflict is trivial.
Signature · 2 lines
Cheers, Stephen Rothwell