mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-15 14:10:43 +00:00
f2fs: remove the unnecessary cast for PTR_ERR
It's not necessary to specify 'int' casting for PTR_ERR. Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
d8c4256c17
commit
68390dd9bd
@ -233,7 +233,7 @@ static int __f2fs_set_acl(struct inode *inode, int type,
|
|||||||
value = f2fs_acl_to_disk(F2FS_I_SB(inode), acl, &size);
|
value = f2fs_acl_to_disk(F2FS_I_SB(inode), acl, &size);
|
||||||
if (IS_ERR(value)) {
|
if (IS_ERR(value)) {
|
||||||
clear_inode_flag(inode, FI_ACL_MODE);
|
clear_inode_flag(inode, FI_ACL_MODE);
|
||||||
return (int)PTR_ERR(value);
|
return PTR_ERR(value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user