diff options
| author | John Stultz <johnstul@us.ibm.com> | 2010-04-29 02:31:49 -0400 | 
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2010-04-29 05:57:13 -0400 | 
| commit | 4329d1ae261df5ae61f8a4db7253fbe316efb590 (patch) | |
| tree | 4558d10eb94d04defcde2225e440dc449d0dd531 /fs/xfs/xfs_ialloc.c | |
| parent | a0a59617869efb2ec0e80c6cf11cfc90735600f6 (diff) | |
fs: Fix namespace related hangs
Nick converted the dentry->d_mounted counter to a flag, however with
namespaces, dentries can be mounted multiple times (and more
importantly unmounted multiple times).
If a namespace was created and then released, the unmount_tree would
remove the DCACHE_MOUNTED flag and that would make d_mountpoint fail,
causing the mounts to be lost.
This patch coverts it back to a counter, and adds some extra WARN_ONs
to make sure things are accounted properly.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: "Luis Claudio R. Goncalves" <lclaudio@uudg.org>
Cc: Nick Piggin <npiggin@suse.de>
LKML-Reference: <1272522942.1967.12.camel@work-vm>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/xfs/xfs_ialloc.c')
0 files changed, 0 insertions, 0 deletions
