Re: [PATCH 5/9] ntfs: Remove FGP_NOFS from __ntfs_inode_resident_attr_pwrite()

From
Namjae Jeon <linkinjeon@kernel.org>
Date
2026-08-31 23:34:29
Also in
linux-fsdevel, linux-mm, linux-nfs, lkml
Reply to
Matthew Wilcox (Oracle), 2026-08-30
On Sun, Aug 30, 2026 at 1:19 PM Matthew Wilcox (Oracle)
[off-list ref] wrote:
I do not believe that FGP_NOFS is needed here.  This function is called
from one place (ntfs_inode_attr_pwrite) which calls either this function
or __ntfs_inode_non_resident_attr_pwrite().  The latter function does not
use FGP_NOFS in its calls to allocate pagecaache memory, so it should not
be needed here either.  If it turns out to be needed by both functions,
then we should use memalloc_nofs_save at a higher level to protect both
of them.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Namjae Jeon <linkinjeon@kernel.org>
Thanks!
Thread (33 messages) 33 messages, 8 authors, last reply 2026-09-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help