diff options
Diffstat (limited to 'fs/aufs/loop.c')
-rw-r--r-- | fs/aufs/loop.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/aufs/loop.c b/fs/aufs/loop.c index 69f7e9647..f324758e9 100644 --- a/fs/aufs/loop.c +++ b/fs/aufs/loop.c @@ -114,7 +114,7 @@ int au_loopback_init(void) int err; struct super_block *sb __maybe_unused; - AuDebugOn(sizeof(sb->s_magic) != sizeof(unsigned long)); + BUILD_BUG_ON(sizeof(sb->s_magic) != sizeof(unsigned long)); err = 0; au_warn_loopback_array = kcalloc(au_warn_loopback_step, @@ -127,6 +127,7 @@ int au_loopback_init(void) void au_loopback_fin(void) { - symbol_put(loop_backing_file); + if (backing_file_func) + symbol_put(loop_backing_file); kfree(au_warn_loopback_array); } |