diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2008-06-02 10:04:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-06-04 08:50:43 -0700 |
commit | e97dcb0eadbb821eccd549d4987b653cf61e2374 (patch) | |
tree | 0dc9cddcac54dcdc35f7e1ddf6e190947ec86320 /include | |
parent | 246dd412d31e4f5de1d43aa6422a325b785f36e4 (diff) |
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: Casey Schaufler <casey@schaufler-ca.com>
Tested-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions