verity.c (6c0d077ff8200a7b8e7131ca8e25315dec243a60) | verity.c (043546e46dc70c25ff7e2cf6d09cbb0424fc9978) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * fs/ext4/verity.c: fs-verity support for ext4 4 * 5 * Copyright 2019 Google LLC 6 */ 7 8/* --- 230 unchanged lines hidden (view full) --- 239 240 if (desc != NULL && !err) { 241 struct ext4_iloc iloc; 242 243 err = ext4_reserve_inode_write(handle, inode, &iloc); 244 if (err) 245 goto out_stop; 246 ext4_set_inode_flag(inode, EXT4_INODE_VERITY); | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * fs/ext4/verity.c: fs-verity support for ext4 4 * 5 * Copyright 2019 Google LLC 6 */ 7 8/* --- 230 unchanged lines hidden (view full) --- 239 240 if (desc != NULL && !err) { 241 struct ext4_iloc iloc; 242 243 err = ext4_reserve_inode_write(handle, inode, &iloc); 244 if (err) 245 goto out_stop; 246 ext4_set_inode_flag(inode, EXT4_INODE_VERITY); |
247 ext4_set_inode_flags(inode); | 247 ext4_set_inode_flags(inode, false); |
248 err = ext4_mark_iloc_dirty(handle, inode, &iloc); 249 } 250out_stop: 251 ext4_journal_stop(handle); 252 return err ?: err2; 253} 254 255static int ext4_get_verity_descriptor_location(struct inode *inode, --- 158 unchanged lines hidden --- | 248 err = ext4_mark_iloc_dirty(handle, inode, &iloc); 249 } 250out_stop: 251 ext4_journal_stop(handle); 252 return err ?: err2; 253} 254 255static int ext4_get_verity_descriptor_location(struct inode *inode, --- 158 unchanged lines hidden --- |