<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/udf/inode.c, 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-08-03T06:59:36Z</updated>
<entry>
<title>udf: Fix lock ordering in udf_evict_inode()</title>
<updated>2024-08-03T06:59:36Z</updated>
<author>
<name>Jan Kara</name>
</author>
<published>2024-05-20T13:23:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=50b556a1ce2cbcb284ee611c9ee8af2d578f9d76'/>
<id>urn:sha1:50b556a1ce2cbcb284ee611c9ee8af2d578f9d76</id>
<content type='text'>
[ Upstream commit 8832fc1e502687869606bb0a7b79848ed3bf036f ]

udf_evict_inode() calls udf_setsize() to truncate deleted inode.
However inode deletion through udf_evict_inode() can happen from inode
reclaim context and udf_setsize() grabs mapping-&gt;invalidate_lock which
isn't generally safe to acquire from fs reclaim context since we
allocate pages under mapping-&gt;invalidate_lock for example in a page
fault path.  This is however not a real deadlock possibility as by the
time udf_evict_inode() is called, nobody can be accessing the inode,
even less work with its page cache. So this is just a lockdep triggering
false positive. Fix the problem by moving mapping-&gt;invalidate_lock
locking outsize of udf_setsize() into udf_setattr() as grabbing
mapping-&gt;invalidate_lock from udf_evict_inode() is pointless.

Reported-by: syzbot+0333a6f4b88bcd68a62f@syzkaller.appspotmail.com
Fixes: b9a861fd527a ("udf: Protect truncate and file type conversion with invalidate_lock")
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>udf: Use a folio in udf_write_end()</title>
<updated>2024-04-23T13:37:02Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2024-04-17T15:04:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e29741676fac5d4430b3d2b799a5ff671ea9f023'/>
<id>urn:sha1:e29741676fac5d4430b3d2b799a5ff671ea9f023</id>
<content type='text'>
Convert the page to a folio and use the folio APIs.  Replaces three
calls to compound_head() with one.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
Message-Id: &lt;20240417150416.752929-8-willy@infradead.org&gt;
</content>
</entry>
<entry>
<title>udf: Convert udf_adinicb_readpage() to udf_adinicb_read_folio()</title>
<updated>2024-04-23T13:37:02Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2024-04-17T15:04:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d257d924a3fc6fe26594fba221c8be62f043b8d0'/>
<id>urn:sha1:d257d924a3fc6fe26594fba221c8be62f043b8d0</id>
<content type='text'>
Now that all three callers have a folio, convert this function to
take a folio, and use the folio APIs.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
Message-Id: &lt;20240417150416.752929-5-willy@infradead.org&gt;
</content>
</entry>
<entry>
<title>udf: Convert udf_expand_file_adinicb() to use a folio</title>
<updated>2024-04-23T13:36:30Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2024-04-17T15:04:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db6754090a4f99c67e05ae6b87343ba6e013531f'/>
<id>urn:sha1:db6754090a4f99c67e05ae6b87343ba6e013531f</id>
<content type='text'>
Use the folio APIs throughout this function.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Fixes: 1eeceaec794e ("udf: Convert udf_expand_file_adinicb() to avoid kmap_atomic()")
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
Message-Id: &lt;20240417150416.752929-4-willy@infradead.org&gt;
</content>
</entry>
<entry>
<title>udf: Convert udf_write_begin() to use a folio</title>
<updated>2024-04-23T13:36:02Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2024-04-17T15:04:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d08f069cc2dafddf81b23db2ead45539b12cd0c2'/>
<id>urn:sha1:d08f069cc2dafddf81b23db2ead45539b12cd0c2</id>
<content type='text'>
Use the folio APIs throughout instead of the deprecated page APIs.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
Message-Id: &lt;20240417150416.752929-3-willy@infradead.org&gt;
</content>
</entry>
<entry>
<title>udf: Remove GFP_NOFS allocation in udf_expand_file_adinicb()</title>
<updated>2024-01-23T18:21:10Z</updated>
<author>
<name>Jan Kara</name>
</author>
<published>2024-01-09T10:15:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38f8af2a7191e5da21c557210d810c6d0d34f6c4'/>
<id>urn:sha1:38f8af2a7191e5da21c557210d810c6d0d34f6c4</id>
<content type='text'>
udf_expand_file_adinicb() is called under inode-&gt;i_rwsem and
mapping-&gt;invalidate_lock. i_rwsem is safe wrt fs reclaim,
invalidate_lock on this inode is safe as well (we hold inode reference
so reclaim will not touch it, furthermore even lockdep should not
complain as invalidate_lock is acquired from udf_evict_inode() only when
truncating inode which should not happen from fs reclaim).

Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>udf: convert to new timestamp accessors</title>
<updated>2023-10-18T12:08:28Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2023-10-04T18:52:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f972fed75496457e8b6495fbe47e8ccdedc820af'/>
<id>urn:sha1:f972fed75496457e8b6495fbe47e8ccdedc820af</id>
<content type='text'>
Convert to using the new inode timestamp accessor functions.

Signed-off-by: Jeff Layton &lt;jlayton@kernel.org&gt;
Link: https://lore.kernel.org/r/20231004185347.80880-72-jlayton@kernel.org
Signed-off-by: Christian Brauner &lt;brauner@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'for_v6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs</title>
<updated>2023-08-30T19:10:50Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2023-08-30T19:10:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1500e7e0726e963f64b9785a0cb0a820b2587bad'/>
<id>urn:sha1:1500e7e0726e963f64b9785a0cb0a820b2587bad</id>
<content type='text'>
Pull ext2, quota, and udf updates from Jan Kara:

 - fixes for possible use-after-free issues with quota when racing with
   chown

 - fixes for ext2 crashing when xattr allocation races with another
   block allocation to the same file from page writeback code

 - fix for block number overflow in ext2

 - marking of reiserfs as obsolete in MAINTAINERS

 - assorted minor cleanups

* tag 'for_v6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
  ext2: Fix kernel-doc warnings
  ext2: improve consistency of ext2_fsblk_t datatype usage
  ext2: dump current reservation window info
  ext2: fix race between setxattr and write back
  ext2: introduce new flags argument for ext2_new_blocks()
  ext2: remove ext2_new_block()
  ext2: fix datatype of block number in ext2_xattr_set2()
  udf: Drop pointless aops assignment
  quota: use lockdep_assert_held_write in dquot_load_quota_sb
  MAINTAINERS: change reiserfs status to obsolete
  udf: Fix -Wstringop-overflow warnings
  quota: simplify drop_dquot_ref()
  quota: fix dqput() to follow the guarantees dquot_srcu should provide
  quota: add new helper dquot_active()
  quota: rename dquot_active() to inode_quota_active()
  quota: factor out dquot_write_dquot()
  ext2: remove redundant assignment to variable desc and variable best_desc
</content>
</entry>
<entry>
<title>udf: Drop pointless aops assignment</title>
<updated>2023-08-09T16:55:16Z</updated>
<author>
<name>Jan Kara</name>
</author>
<published>2023-03-24T10:37:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5ae6ca2cc1ca508548446fe1325f4690145df153'/>
<id>urn:sha1:5ae6ca2cc1ca508548446fe1325f4690145df153</id>
<content type='text'>
Since we have merged normal and in-ICB address_space operations, there's
no need to assign aops when expanding from in-ICB format.

Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>udf: convert to ctime accessor functions</title>
<updated>2023-07-24T08:30:06Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2023-07-05T19:01:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=59ad88f26e97331a8ab955349d0b1d89040b12fc'/>
<id>urn:sha1:59ad88f26e97331a8ab955349d0b1d89040b12fc</id>
<content type='text'>
In later patches, we're going to change how the inode's ctime field is
used. Switch to using accessor functions instead of raw accesses of
inode-&gt;i_ctime.

Signed-off-by: Jeff Layton &lt;jlayton@kernel.org&gt;
Reviewed-by: Jan Kara &lt;jack@suse.cz&gt;
Message-Id: &lt;20230705190309.579783-77-jlayton@kernel.org&gt;
Signed-off-by: Christian Brauner &lt;brauner@kernel.org&gt;
</content>
</entry>
</feed>
