Skip to content
Commit e97dcb0e authored by Casey Schaufler's avatar Casey Schaufler Committed by Linus Torvalds
Browse files

Smack: fuse mount hang fix



The d_instantiate hook for Smack can hang on the root inode of a
filesystem if the file system code has not really done all the set-up.
Fuse is known to encounter this problem.

This change detects an attempt to instantiate a root inode and addresses
it early in the processing, before any attempt is made to do something
that might hang.

Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
Tested-by: default avatarLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 246dd412
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment