xattr.c (c3b5d3cea508d2c8ff493ef18c45a9cc58fb7015) xattr.c (f424f664f0e8949361d268e2e91c7acc8cf63eb2)
1/*
2 * fs/f2fs/xattr.c
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com/
6 *
7 * Portions of this code from linux/fs/ext2/xattr.c
8 *

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

579 if (error)
580 goto exit;
581
582 if (is_inode_flag_set(fi, FI_ACL_MODE)) {
583 inode->i_mode = fi->i_acl_mode;
584 inode->i_ctime = CURRENT_TIME;
585 clear_inode_flag(fi, FI_ACL_MODE);
586 }
1/*
2 * fs/f2fs/xattr.c
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com/
6 *
7 * Portions of this code from linux/fs/ext2/xattr.c
8 *

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

579 if (error)
580 goto exit;
581
582 if (is_inode_flag_set(fi, FI_ACL_MODE)) {
583 inode->i_mode = fi->i_acl_mode;
584 inode->i_ctime = CURRENT_TIME;
585 clear_inode_flag(fi, FI_ACL_MODE);
586 }
587 if (index == F2FS_XATTR_INDEX_ENCRYPTION &&
588 !strcmp(name, F2FS_XATTR_NAME_ENCRYPTION_CONTEXT))
589 f2fs_set_encrypted_inode(inode);
587
588 if (ipage)
589 update_inode(inode, ipage);
590 else
591 update_inode_page(inode);
592exit:
593 kzfree(base_addr);
594 return error;

--- 24 unchanged lines hidden ---
590
591 if (ipage)
592 update_inode(inode, ipage);
593 else
594 update_inode_page(inode);
595exit:
596 kzfree(base_addr);
597 return error;

--- 24 unchanged lines hidden ---