projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
f2fs: clean up build warnings
[linux-block.git]
/
fs
/
f2fs
/
acl.c
diff --git
a/fs/f2fs/acl.c
b/fs/f2fs/acl.c
index 965037a9c205ace96c6448140415038a360f7cd2..239ad9453b998b39180bc864934fe88e01a7a43b 100644
(file)
--- a/
fs/f2fs/acl.c
+++ b/
fs/f2fs/acl.c
@@
-29,6
+29,7
@@
static inline size_t f2fs_acl_size(int count)
static inline int f2fs_acl_count(size_t size)
{
ssize_t s;
+
size -= sizeof(struct f2fs_acl_header);
s = size - 4 * sizeof(struct f2fs_acl_entry_short);
if (s < 0) {