> On 19 Feb 2017, at 18:08, Christos Zoulas <chris...@astron.com> wrote: > > In article <f1e96c92-0e24-40b1-b500-92cac4452...@eis.cs.tu-bs.de>, > J. Hannken-Illjes <hann...@eis.cs.tu-bs.de> 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 - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)