https://github.com/torvalds/linux
Revision e97dcb0eadbb821eccd549d4987b653cf61e2374 authored by Casey Schaufler on 02 June 2008, 17:04:32 UTC, committed by Linus Torvalds on 04 June 2008, 15:50:43 UTC
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>
1 parent 246dd41
History
Tip revision: e97dcb0eadbb821eccd549d4987b653cf61e2374 authored by Casey Schaufler on 02 June 2008, 17:04:32 UTC
Smack: fuse mount hang fix
Tip revision: e97dcb0
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 686 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.5 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 98.3 KB
Makefile -rw-r--r-- 53.8 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top