Does linux locks swap file?

Boris Tobotras (boris@xtalk.msk.su)
Sun, 19 Jan 1997 16:13:40 +0300


Hello.

If I've understood sys_swapon() correctly, there is no increment
of inode's usage counter if swapping goes to regular file. If this
assumption is correct, it is definitely a bug. If it is wrong, please
tell me why :)

This was inspired by report of someone who was able to crash
system just by removing active swap file.

-- 
	Best regards, -- Boris.