projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8c4256
)
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>
Tue, 4 Jul 2017 09:11:32 +0000
(
02:11
-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
|
blame
|
history
diff --git
a/fs/f2fs/acl.c
b/fs/f2fs/acl.c
index 8f487692c21f403b85225bb8a96ad44499daaf2f..a140c5e3dc54ebf89853e57fb80bbce0c5590478 100644
(file)
--- a/
fs/f2fs/acl.c
+++ b/
fs/f2fs/acl.c
@@
-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);
}
}