sb.c (3eb66e91a25497065c5322b1268cbc3953642227) sb.c (643fa9612bf1a29153eee46fd398117632f93cbe)
1/*
2 * This file is part of UBIFS.
3 *
4 * Copyright (C) 2006-2008 Nokia Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.

--- 734 unchanged lines hidden (view full) ---

743
744 if ((sup_flags & ~UBIFS_FLG_MASK) != 0) {
745 ubifs_err(c, "Unknown feature flags found: %#x",
746 sup_flags & ~UBIFS_FLG_MASK);
747 err = -EINVAL;
748 goto out;
749 }
750
1/*
2 * This file is part of UBIFS.
3 *
4 * Copyright (C) 2006-2008 Nokia Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.

--- 734 unchanged lines hidden (view full) ---

743
744 if ((sup_flags & ~UBIFS_FLG_MASK) != 0) {
745 ubifs_err(c, "Unknown feature flags found: %#x",
746 sup_flags & ~UBIFS_FLG_MASK);
747 err = -EINVAL;
748 goto out;
749 }
750
751#ifndef CONFIG_UBIFS_FS_ENCRYPTION
751#ifndef CONFIG_FS_ENCRYPTION
752 if (c->encrypted) {
753 ubifs_err(c, "file system contains encrypted files but UBIFS"
754 " was built without crypto support.");
755 err = -EINVAL;
756 goto out;
757 }
758#endif
759

--- 205 unchanged lines hidden ---
752 if (c->encrypted) {
753 ubifs_err(c, "file system contains encrypted files but UBIFS"
754 " was built without crypto support.");
755 err = -EINVAL;
756 goto out;
757 }
758#endif
759

--- 205 unchanged lines hidden ---