OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[sagit-ice-cold/kernel_xiaomi_msm8998.git]
/
fs
/
f2fs
/
xattr.c
diff --git
a/fs/f2fs/xattr.c
b/fs/f2fs/xattr.c
index
e2b9299
..
89d0422
100644
(file)
--- a/
fs/f2fs/xattr.c
+++ b/
fs/f2fs/xattr.c
@@
-523,7
+523,7
@@
static int __f2fs_setxattr(struct inode *inode, int name_index,
if (found)
free = free + ENTRY_SIZE(here);
- if (
free < newsize
) {
+ if (
unlikely(free < newsize)
) {
error = -ENOSPC;
goto exit;
}