summaryrefslogtreecommitdiff
path: root/fs/aufs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/aufs/super.c')
-rw-r--r--fs/aufs/super.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/fs/aufs/super.c b/fs/aufs/super.c
index 6b7f38e48..7ae6ea12e 100644
--- a/fs/aufs/super.c
+++ b/fs/aufs/super.c
@@ -1,18 +1,5 @@
/*
* Copyright (C) 2005-2015 Junjiro R. Okajima
- *
- * This program, aufs is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
@@ -104,7 +91,7 @@ static int au_show_brs(struct seq_file *seq, struct super_block *sb)
path.mnt = au_br_mnt(br);
path.dentry = hdp[bindex].hd_dentry;
err = au_seq_path(seq, &path);
- if (err > 0) {
+ if (!err) {
au_optstr_br_perm(&perm, br->br_perm);
err = seq_printf(seq, "=%s", perm.a);
if (err == -1)