linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the vfs-brauner tree with the ntfs3 tree
@ 2023-10-09 23:37 Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2023-10-09 23:37 UTC (permalink / raw)
  To: Christian Brauner, Konstantin Komarov
  Cc: Jeff Layton, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 837 bytes --]

Hi all,

Today's linux-next merge of the vfs-brauner tree got conflicts in:

  fs/ntfs3/inode.c
  fs/ntfs3/namei.c

between commits:

  3f2f09f18972 ("fs/ntfs3: Use inode_set_ctime_to_ts instead of inode_set_ctime")
  f684073c09fd ("fs/ntfs3: Refactoring and comments")

from the ntfs3 tree and commit:

  82f8d5fde753 ("ntfs3: convert to new timestamp accessors")

from the vfs-brauner tree.

I fixed it up (I used the latter changes) 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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* linux-next: manual merge of the vfs-brauner tree with the ntfs3 tree
@ 2024-04-18  0:33 Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2024-04-18  0:33 UTC (permalink / raw)
  To: Christian Brauner, Konstantin Komarov
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1699 bytes --]

Hi all,

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

  fs/ntfs3/ntfs_fs.h

between commit:

  6be30a7aa20b ("fs/ntfs3: Remove cached label from sbi")

from the ntfs3 tree and commit:

  1a2af5ca9b66 ("ntfs3: enforce read-only when used as legacy ntfs driver")

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.

-- 
Cheers,
Stephen Rothwell

diff --cc fs/ntfs3/ntfs_fs.h
index 12c392db5b08,5f4d288c6adf..000000000000
--- a/fs/ntfs3/ntfs_fs.h
+++ b/fs/ntfs3/ntfs_fs.h
@@@ -1153,28 -1156,6 +1155,30 @@@ static inline void le64_sub_cpu(__le64 
  	*var = cpu_to_le64(le64_to_cpu(*var) - val);
  }
  
 +/*
 + * Attributes types: 0x10, 0x20, 0x30....
 + * indexes in attribute table:  0, 1, 2...
 + */
 +static inline const struct ATTR_DEF_ENTRY_SMALL *
 +ntfs_query_def(const struct ntfs_sb_info *sbi, enum ATTR_TYPE type)
 +{
 +	const struct ATTR_DEF_ENTRY_SMALL *q;
 +	u32 idx = (le32_to_cpu(type) >> 4) - 1;
 +
 +	if (idx >= sbi->attrdef.entries) {
 +		/* such attribute is not allowed in this ntfs. */
 +		return NULL;
 +	}
 +
 +	q = sbi->attrdef.table + idx;
 +	if (!q->type) {
 +		/* such attribute is not allowed in this ntfs. */
 +		return NULL;
 +	}
 +
 +	return q;
 +}
 +
+ bool is_legacy_ntfs(struct super_block *sb);
+ 
  #endif /* _LINUX_NTFS3_NTFS_FS_H */

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-18  0:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-09 23:37 linux-next: manual merge of the vfs-brauner tree with the ntfs3 tree Stephen Rothwell
2024-04-18  0:33 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).