| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * AppArmor security module |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Copyright (C) 1998-2008 Novell/SUSE |
|---|
| 7 | 8 | * Copyright 2009-2010 Canonical Ltd. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or |
|---|
| 10 | | - * modify it under the terms of the GNU General Public License as |
|---|
| 11 | | - * published by the Free Software Foundation, version 2 of the |
|---|
| 12 | | - * License. |
|---|
| 13 | 9 | */ |
|---|
| 14 | 10 | |
|---|
| 15 | 11 | #include <linux/magic.h> |
|---|
| .. | .. |
|---|
| 146 | 142 | error = PTR_ERR(res); |
|---|
| 147 | 143 | *name = buf; |
|---|
| 148 | 144 | goto out; |
|---|
| 149 | | - }; |
|---|
| 145 | + } |
|---|
| 150 | 146 | } else if (!our_mnt(path->mnt)) |
|---|
| 151 | 147 | connected = 0; |
|---|
| 152 | 148 | |
|---|