OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97c0717
)
f2fs: remove the unnecessary cast for PTR_ERR
author
Zhang Shengju
<zhangshengju@cmss.chinamobile.com>
Thu, 1 Jun 2017 08:50:10 +0000
(16:50 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 13 Jul 2017 23:56:27 +0000
(16:56 -0700)
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>
fs/f2fs/acl.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/acl.c
b/fs/f2fs/acl.c
index
a45d1f4
..
ad26f59
100644
(file)
--- a/
fs/f2fs/acl.c
+++ b/
fs/f2fs/acl.c
@@
-236,7
+236,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);
}
}