Re: [PATCH] Smack: fuse mount hang fix

From: Luiz Fernando N. Capitulino
Date: Mon Jun 02 2008 - 13:58:28 EST


Em Mon, 02 Jun 2008 10:04:32 -0700
Casey Schaufler <casey@xxxxxxxxxxxxxxxx> escreveu:

| From: Casey Schaufler <casey@xxxxxxxxxxxxxxxx>
|
| 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: Casey Schaufler <casey@xxxxxxxxxxxxxxxx>

Fixed the problem for me, thank very much.

Tested-by: Luiz Fernando N. Capitulino <lcapitulino@xxxxxxxxxxxxxxx>

--
Luiz Fernando N. Capitulino
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/