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, 23 Feb 2014 19:03:34 +0000 (14:03 -0500)
commitbc253c73799a41b7a861df2e833ddc7373c89625
treea040aef0262b6b33624bf5573ed6b695e441c6b2
parent5b64157a85746f2fd8fc88bcdd74c65371c2802f
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