tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Remount read-only and fstrans



> On 19 Feb 2017, at 18:08, Christos Zoulas <christos%astron.com@localhost> wrote:
> 
> In article <F1E96C92-0E24-40B1-B500-92CAC4452A9F%eis.cs.tu-bs.de@localhost>,
> J. Hannken-Illjes <hannken%eis.cs.tu-bs.de@localhost> wrote:
>> 
>> Comments or objections anyone?
> 
> Will that detect open for write file descriptors to removed files?

This is the job of vflush().  Since Rev. 1.46 of vfs_mount.c (2017/01/27)
it handles both open for read and open for write descriptors to
unlinked files.

The corresponding test is tests/fs/vfs/t_rwtoro.c

--
J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig (Germany)



Home | Main Index | Thread Index | Old Index