inode.c (cbaf042a3cc6c37f9005fd6952cbf2013ab7cc15) | inode.c (26bf3dc7e25b813ff5c92234f8165941fdc12a63) |
---|---|
1/* 2 * fs/f2fs/inode.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 --- 350 unchanged lines hidden (view full) --- 359 invalidate_mapping_pages(NODE_MAPPING(sbi), xnid, xnid); 360 if (is_inode_flag_set(F2FS_I(inode), FI_APPEND_WRITE)) 361 add_dirty_inode(sbi, inode->i_ino, APPEND_INO); 362 if (is_inode_flag_set(F2FS_I(inode), FI_UPDATE_WRITE)) 363 add_dirty_inode(sbi, inode->i_ino, UPDATE_INO); 364out_clear: 365#ifdef CONFIG_F2FS_FS_ENCRYPTION 366 if (F2FS_I(inode)->i_crypt_info) | 1/* 2 * fs/f2fs/inode.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 --- 350 unchanged lines hidden (view full) --- 359 invalidate_mapping_pages(NODE_MAPPING(sbi), xnid, xnid); 360 if (is_inode_flag_set(F2FS_I(inode), FI_APPEND_WRITE)) 361 add_dirty_inode(sbi, inode->i_ino, APPEND_INO); 362 if (is_inode_flag_set(F2FS_I(inode), FI_UPDATE_WRITE)) 363 add_dirty_inode(sbi, inode->i_ino, UPDATE_INO); 364out_clear: 365#ifdef CONFIG_F2FS_FS_ENCRYPTION 366 if (F2FS_I(inode)->i_crypt_info) |
367 f2fs_free_encryption_info(inode); | 367 f2fs_free_encryption_info(inode, F2FS_I(inode)->i_crypt_info); |
368#endif 369 clear_inode(inode); 370} 371 372/* caller should call f2fs_lock_op() */ 373void handle_failed_inode(struct inode *inode) 374{ 375 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); --- 19 unchanged lines hidden --- | 368#endif 369 clear_inode(inode); 370} 371 372/* caller should call f2fs_lock_op() */ 373void handle_failed_inode(struct inode *inode) 374{ 375 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); --- 19 unchanged lines hidden --- |