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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACQs63L2wfXKaD5sH6OOV+Bm_+37F3QOdt1QMFbWnB9AE4iCpA@mail.gmail.com>
Date:	Fri, 9 Mar 2012 14:40:22 +0100
From:	Andor Daam <andor.daam@...glemail.com>
To:	linux-fsdevel@...r.kernel.org, linux-btrfs@...r.kernel.org,
	linux-ext4@...r.kernel.org, ocfs2-devel@....oracle.com
Cc:	dan.magenheimer@...cle.com, fschmaus@...il.com, linux-mm@...ck.org,
	ilendir@...glemail.com, sjenning@...ux.vnet.ibm.com,
	konrad.wilk@...cle.com, i4passt@...ts.informatik.uni-erlangen.de,
	ngupta@...are.org
Subject: ext3/4, btrfs, ocfs2: How to assure that cleancache_invalidate_fs is
 called on every superblock free

Hello,

Is it ever possible for a superblock for a mounted filesystem to be
free'd without a previous call to unmount the filesystem?
I need to be certain that the function cleancache_invalidate_fs, which
is at the moment called by deactivate_locked_super (fs/super.c) [1],
is called before every free on a superblock of cleancache-enabled
filesystems.
Is this already the case or are there situations in which this does not happen?

It would be interesting to know this, as we are planning to have
cleancache save pointers to superblocks of every mounted
cleancache-enabled filesystem [2] and it would be fatal if a
superblock is free'd without cleancache being notified.

Regards
Andor

[1] commit c515e1fd361c2a08a9c2eb139396ec30a4f477dc
[2] http://marc.info/?l=linux-mm&m=133122649732669&w=2
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ