<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/ntfs3, branch linux-6.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-09-12T09:13:02Z</updated>
<entry>
<title>fs/ntfs3: Check more cases when directory is corrupted</title>
<updated>2024-09-12T09:13:02Z</updated>
<author>
<name>Konstantin Komarov</name>
</author>
<published>2024-06-17T11:53:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b5a531dd2f7257ee248664f60c97f4eaa12837eb'/>
<id>urn:sha1:b5a531dd2f7257ee248664f60c97f4eaa12837eb</id>
<content type='text'>
[ Upstream commit 744375343662058cbfda96d871786e5a5cbe1947 ]

Mark ntfs dirty in this case.
Rename ntfs_filldir to ntfs_dir_emit.

Signed-off-by: Konstantin Komarov &lt;almaz.alexandrovich@paragon-software.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>fs/ntfs3: One more reason to mark inode bad</title>
<updated>2024-09-12T09:12:51Z</updated>
<author>
<name>Konstantin Komarov</name>
</author>
<published>2024-05-30T07:55:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=90cc74552a7306a9c4c09bfd63280153016037ff'/>
<id>urn:sha1:90cc74552a7306a9c4c09bfd63280153016037ff</id>
<content type='text'>
[ Upstream commit a0dde5d7a58b6bf9184ef3d8c6e62275c3645584 ]

In addition to returning an error, mark the node as bad.

Signed-off-by: Konstantin Komarov &lt;almaz.alexandrovich@paragon-software.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>fs/ntfs3: Do copy_to_user out of run_lock</title>
<updated>2024-08-19T04:05:38Z</updated>
<author>
<name>Konstantin Komarov</name>
</author>
<published>2024-06-17T12:14:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e8473e125aad45a798f67df96709dc890c835302'/>
<id>urn:sha1:e8473e125aad45a798f67df96709dc890c835302</id>
<content type='text'>
[ Upstream commit d57431c6f511bf020e474026d9f3123d7bfbea8c ]

In order not to call copy_to_user (from fiemap_fill_next_extent)
we allocate memory in the kernel, fill it and copy it to user memory
after up_read(run_lock).

Reported-by: syzbot+36bb70085ef6edc2ebb9@syzkaller.appspotmail.com
Signed-off-by: Konstantin Komarov &lt;almaz.alexandrovich@paragon-software.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>fs/ntfs3: Update log-&gt;page_{mask,bits} if log-&gt;page_size changed</title>
<updated>2024-08-03T07:00:45Z</updated>
<author>
<name>Huacai Chen</name>
</author>
<published>2024-05-29T06:40:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0a4ae2644e2a3b3b219aad9639fb2b0691d08420'/>
<id>urn:sha1:0a4ae2644e2a3b3b219aad9639fb2b0691d08420</id>
<content type='text'>
commit 2fef55d8f78383c8e6d6d4c014b9597375132696 upstream.

If an NTFS file system is mounted to another system with different
PAGE_SIZE from the original system, log-&gt;page_size will change in
log_replay(), but log-&gt;page_{mask,bits} don't change correspondingly.
This will cause a panic because "u32 bytes = log-&gt;page_size - page_off"
will get a negative value in the later read_log_page().

Cc: stable@vger.kernel.org
Fixes: b46acd6a6a627d876898e ("fs/ntfs3: Add NTFS journal")
Signed-off-by: Huacai Chen &lt;chenhuacai@loongson.cn&gt;
Signed-off-by: Konstantin Komarov &lt;almaz.alexandrovich@paragon-software.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>fs/ntfs3: Keep runs for $MFT::$ATTR_DATA and $MFT::$ATTR_BITMAP</title>
<updated>2024-08-03T07:00:25Z</updated>
<author>
<name>Konstantin Komarov</name>
</author>
<published>2024-06-18T14:11:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ff9400d32183b2f556e0a4d501c6089e31681257'/>
<id>urn:sha1:ff9400d32183b2f556e0a4d501c6089e31681257</id>
<content type='text'>
[ Upstream commit eb95678ee930d67d79fc83f0a700245ae7230455 ]

We skip the run_truncate_head call also for $MFT::$ATTR_BITMAP.
Otherwise wnd_map()/run_lookup_entry will not find the disk position for the bitmap parts.

Fixes: 0e5b044cbf3a ("fs/ntfs3: Refactoring attr_set_size to restore after errors")
Signed-off-by: Konstantin Komarov &lt;almaz.alexandrovich@paragon-software.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>fs/ntfs3: Missed error return</title>
<updated>2024-08-03T07:00:25Z</updated>
<author>
<name>Konstantin Komarov</name>
</author>
<published>2024-06-17T10:43:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=73e38cb6836790ddb57898484c0f526b937059a9'/>
<id>urn:sha1:73e38cb6836790ddb57898484c0f526b937059a9</id>
<content type='text'>
[ Upstream commit 2cbbd96820255fff4f0ad1533197370c9ccc570b ]

Fixes: 3f3b442b5ad2 ("fs/ntfs3: Add bitmap")
Signed-off-by: Konstantin Komarov &lt;almaz.alexandrovich@paragon-software.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>fs/ntfs3: Fix the format of the "nocase" mount option</title>
<updated>2024-08-03T07:00:25Z</updated>
<author>
<name>Konstantin Komarov</name>
</author>
<published>2024-06-25T06:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2e83375fd95b81be0e9ca457cc7c3f23e3575768'/>
<id>urn:sha1:2e83375fd95b81be0e9ca457cc7c3f23e3575768</id>
<content type='text'>
[ Upstream commit d392e85fd1e8d58e460c17ca7d0d5c157848d9c1 ]

The 'nocase' option was mistakenly added as fsparam_flag_no
with the 'no' prefix, causing the case-insensitive mode to require
the 'nonocase' option to be enabled.

Fixes: a3a956c78efa ("fs/ntfs3: Add option "nocase"")
Signed-off-by: Konstantin Komarov &lt;almaz.alexandrovich@paragon-software.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>fs/ntfs3: Fix field-spanning write in INDEX_HDR</title>
<updated>2024-08-03T07:00:23Z</updated>
<author>
<name>Konstantin Komarov</name>
</author>
<published>2024-06-17T12:13:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c41eadba18049d1b9ade7767c675d10a9641e44c'/>
<id>urn:sha1:c41eadba18049d1b9ade7767c675d10a9641e44c</id>
<content type='text'>
[ Upstream commit 2f3e176fee66ac86ae387787bf06457b101d9f7a ]

Fields flags and res[3] replaced with one 4 byte flags.

Fixes: 4534a70b7056 ("fs/ntfs3: Add headers and misc files")
Signed-off-by: Konstantin Komarov &lt;almaz.alexandrovich@paragon-software.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>fs/ntfs3: Drop stray '\' (backslash) in formatting string</title>
<updated>2024-08-03T07:00:23Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2024-04-23T21:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d7d3cbb23136a78581bee58e71d92306afab8e61'/>
<id>urn:sha1:d7d3cbb23136a78581bee58e71d92306afab8e61</id>
<content type='text'>
[ Upstream commit b366809dd151e8abb29decda02fd6a78b498831f ]

CHECK   /home/andy/prj/linux-topic-uart/fs/ntfs3/super.c
fs/ntfs3/super.c:471:23: warning: unknown escape sequence: '\%'

Drop stray '\' (backslash) in formatting string.

Fixes: d27e202b9ac4 ("fs/ntfs3: Add more info into /proc/fs/ntfs3/&lt;dev&gt;/volinfo")
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Konstantin Komarov &lt;almaz.alexandrovich@paragon-software.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>fs/ntfs3: Correct undo if ntfs_create_inode failed</title>
<updated>2024-08-03T07:00:22Z</updated>
<author>
<name>Konstantin Komarov</name>
</author>
<published>2024-05-30T07:59:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e0f398c6f5c39907d772c7b2db9863bbe3607f9'/>
<id>urn:sha1:8e0f398c6f5c39907d772c7b2db9863bbe3607f9</id>
<content type='text'>
[ Upstream commit f28d0866d8ff798aa497971f93d0cc58f442d946 ]

Clusters allocated for Extended Attributes, must be freed
when rolling back inode creation.

Fixes: 82cae269cfa95 ("fs/ntfs3: Add initialization of super block")
Signed-off-by: Konstantin Komarov &lt;almaz.alexandrovich@paragon-software.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
</feed>
