Unionfs: debugging: don't oops if sb->s_root is NULL
authorErez_Zadok <ezk@cs.sunysb.edu>
Tue, 17 Jul 2007 03:40:07 +0000 (23:40 -0400)
committerErez_Zadok <ezk@cs.sunysb.edu>
Mon, 23 Jul 2007 00:50:55 +0000 (20:50 -0400)
commitadc3d815f41fcc11b36311f8ae3a2bff0950c516
tree2c437ed86ed63318c63875685874aeacc0ce4408
parent1dc5c1b8b52a9fac0a07833d3937c8be80d47e1e
Unionfs: debugging: don't oops if sb->s_root is NULL

If we're calling show_branch_counts very early during mount or late during
unmount, don't oops if the s_root is already NULL.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/debug.c