super.c (3eb66e91a25497065c5322b1268cbc3953642227) super.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.

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

2141 sb->s_blocksize_bits = UBIFS_BLOCK_SHIFT;
2142 sb->s_maxbytes = c->max_inode_sz = key_max_inode_size(c);
2143 if (c->max_inode_sz > MAX_LFS_FILESIZE)
2144 sb->s_maxbytes = c->max_inode_sz = MAX_LFS_FILESIZE;
2145 sb->s_op = &ubifs_super_operations;
2146#ifdef CONFIG_UBIFS_FS_XATTR
2147 sb->s_xattr = ubifs_xattr_handlers;
2148#endif
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.

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

2141 sb->s_blocksize_bits = UBIFS_BLOCK_SHIFT;
2142 sb->s_maxbytes = c->max_inode_sz = key_max_inode_size(c);
2143 if (c->max_inode_sz > MAX_LFS_FILESIZE)
2144 sb->s_maxbytes = c->max_inode_sz = MAX_LFS_FILESIZE;
2145 sb->s_op = &ubifs_super_operations;
2146#ifdef CONFIG_UBIFS_FS_XATTR
2147 sb->s_xattr = ubifs_xattr_handlers;
2148#endif
2149#ifdef CONFIG_UBIFS_FS_ENCRYPTION
2149#ifdef CONFIG_FS_ENCRYPTION
2150 sb->s_cop = &ubifs_crypt_operations;
2151#endif
2152
2153 mutex_lock(&c->umount_mutex);
2154 err = mount_ubifs(c);
2155 if (err) {
2156 ubifs_assert(c, err < 0);
2157 goto out_unlock;

--- 262 unchanged lines hidden ---
2150 sb->s_cop = &ubifs_crypt_operations;
2151#endif
2152
2153 mutex_lock(&c->umount_mutex);
2154 err = mount_ubifs(c);
2155 if (err) {
2156 ubifs_assert(c, err < 0);
2157 goto out_unlock;

--- 262 unchanged lines hidden ---