super.c (da554e48caab95a48afe0d7be8d9eae2bbdaa28d) | super.c (26bf3dc7e25b813ff5c92234f8165941fdc12a63) |
---|---|
1/* 2 * fs/f2fs/super.c 3 * 4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 5 * http://www.samsung.com/ 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 435 unchanged lines hidden (view full) --- 444 445 if (F2FS_HAS_BLOCKS(inode)) 446 f2fs_truncate(inode); 447 448 sb_end_intwrite(inode->i_sb); 449 450#ifdef CONFIG_F2FS_FS_ENCRYPTION 451 if (F2FS_I(inode)->i_crypt_info) | 1/* 2 * fs/f2fs/super.c 3 * 4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 5 * http://www.samsung.com/ 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 435 unchanged lines hidden (view full) --- 444 445 if (F2FS_HAS_BLOCKS(inode)) 446 f2fs_truncate(inode); 447 448 sb_end_intwrite(inode->i_sb); 449 450#ifdef CONFIG_F2FS_FS_ENCRYPTION 451 if (F2FS_I(inode)->i_crypt_info) |
452 f2fs_free_encryption_info(inode); | 452 f2fs_free_encryption_info(inode, 453 F2FS_I(inode)->i_crypt_info); |
453#endif 454 spin_lock(&inode->i_lock); 455 } 456 return 0; 457 } 458 return generic_drop_inode(inode); 459} 460 --- 989 unchanged lines hidden --- | 454#endif 455 spin_lock(&inode->i_lock); 456 } 457 return 0; 458 } 459 return generic_drop_inode(inode); 460} 461 --- 989 unchanged lines hidden --- |