Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68390dd9 authored by Zhang Shengju's avatar Zhang Shengju Committed by Jaegeuk Kim
Browse files

f2fs: remove the unnecessary cast for PTR_ERR



It's not necessary to specify 'int' casting for PTR_ERR.

Signed-off-by: default avatarZhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent d8c4256c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
		if (IS_ERR(value)) {
			clear_inode_flag(inode, FI_ACL_MODE);
			return (int)PTR_ERR(value);
			return PTR_ERR(value);
		}
	}