]> git.baikalelectronics.ru Git - kernel.git/commit
hfs: don't allow mounting over .../rsrc
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 30 Apr 2018 23:52:18 +0000 (19:52 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 22 May 2018 18:28:00 +0000 (14:28 -0400)
commit08a36c8daf840b549d65ec52a1d4bcb078df0beb
tree8b0e0eba7e155ea5a311e1ec12b67a9e571f107d
parent03d27b50b91d905aa0987411d98d5365f6750f7d
hfs: don't allow mounting over .../rsrc

That's one case when unlink() destroys a subtree, thanks to "resource
fork" idiocy.  We might forcibly evict that shit on unlink(2), but
for now let's just disallow overmounting; as it is, anything that
plays games with those would leak mounts.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hfs/inode.c