lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250626173023.2702554-4-frank.li@vivo.com>
Date: Thu, 26 Jun 2025 11:30:22 -0600
From: Yangtao Li <frank.li@...o.com>
To: axboe@...nel.dk,
	aivazian.tigran@...il.com,
	viro@...iv.linux.org.uk,
	brauner@...nel.org,
	jack@...e.cz,
	linkinjeon@...nel.org,
	sj1557.seo@...sung.com,
	yuezhang.mo@...y.com,
	slava@...eyko.com,
	glaubitz@...sik.fu-berlin.de,
	frank.li@...o.com,
	shaggy@...nel.org,
	konishi.ryusuke@...il.com,
	almaz.alexandrovich@...agon-software.com,
	me@...copeland.com,
	willy@...radead.org,
	josef@...icpanda.com,
	kovalev@...linux.org,
	dave@...olabs.net,
	mhocko@...e.com,
	chentaotao@...iglobal.com
Cc: linux-block@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	linux-fsdevel@...r.kernel.org,
	linux-ext4@...r.kernel.org,
	jfs-discussion@...ts.sourceforge.net,
	linux-nilfs@...r.kernel.org,
	ntfs3@...ts.linux.dev,
	linux-karma-devel@...ts.sourceforge.net,
	bpf@...r.kernel.org
Subject: [PATCH 3/4] hfsplus: enable uncached buffer io support

Now cont_write_begin() support DONTCACHE mode, let's set FOP_DONTCACHE
flag to enable uncached buffer io support for hfsplus.

Signed-off-by: Yangtao Li <frank.li@...o.com>
---
 fs/hfsplus/inode.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c
index 26cc150856b9..b790ffe92019 100644
--- a/fs/hfsplus/inode.c
+++ b/fs/hfsplus/inode.c
@@ -372,6 +372,7 @@ static const struct file_operations hfsplus_file_operations = {
 	.open		= hfsplus_file_open,
 	.release	= hfsplus_file_release,
 	.unlocked_ioctl = hfsplus_ioctl,
+	.fop_flags	= FOP_DONTCACHE,
 };
 
 struct inode *hfsplus_new_inode(struct super_block *sb, struct inode *dir,
-- 
2.48.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ