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>
Sun, 24 Nov 2013 05:49:28 +0000 (00:49 -0500)
commitcd4e2fc5508219ae90f6adbd2f2827fe89daf5ee
tree5cdeeef7b8cafc3347ccb065a88a386f941a0da5
parentead0899b0a8ac84eb68ca9e21e7f99d0ae1d10e9
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