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>
Fri, 29 Apr 2011 02:24:18 +0000 (22:24 -0400)
commit1489cef156c1a9c942b3551943a86924c1d5ddc7
tree34b924c39e05f115e3f6eaab7817f5d5d86eece1
parent53e20b7d9b25ecbfc4acc4421c8de586e8e2ef98
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