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]
Date:   Mon, 24 Apr 2023 13:37:18 -0600
From:   Keith Busch <>
To:     Randy Dunlap <>
Cc:     Christoph Hellwig <>, Jens Axboe <>,
        Miklos Szeredi <>,
        "Darrick J. Wong" <>,
        Andrew Morton <>,
        David Howells <>,
        Matthew Wilcox <>,,,,,,,,,,
Subject: Re: [PATCH 02/17] fs: remove the special !CONFIG_BLOCK def_blk_fops

On Mon, Apr 24, 2023 at 12:22:30PM -0700, Randy Dunlap wrote:
> On 4/23/23 22:49, Christoph Hellwig wrote:
> > +			inode->i_fop = &def_blk_fops;
> It looks like def_blk_fops is being removed (commit message and patch
> fragment below), but here (above line) it is being used.
> Am I just confused?

The def_blk_fops is removed only for the !CONFIG_BLOCK case. Its usage is under
a branch known at compile time, so it's optimized out for that case before
trying to resolve the symbol.

Powered by blists - more mailing lists