Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Adding post-execute scripts to cyclictest execution
[kvmfornfv.git]
/
kernel
/
fs
/
quota
/
quota.c
diff --git
a/kernel/fs/quota/quota.c
b/kernel/fs/quota/quota.c
index
86ded73
..
3746367
100644
(file)
--- a/
kernel/fs/quota/quota.c
+++ b/
kernel/fs/quota/quota.c
@@
-141,9
+141,9
@@
static int quota_getinfo(struct super_block *sb, int type, void __user *addr)
if (tstate->flags & QCI_ROOT_SQUASH)
uinfo.dqi_flags |= DQF_ROOT_SQUASH;
uinfo.dqi_valid = IIF_ALL;
if (tstate->flags & QCI_ROOT_SQUASH)
uinfo.dqi_flags |= DQF_ROOT_SQUASH;
uinfo.dqi_valid = IIF_ALL;
- if (
!ret &&
copy_to_user(addr, &uinfo, sizeof(uinfo)))
+ if (copy_to_user(addr, &uinfo, sizeof(uinfo)))
return -EFAULT;
return -EFAULT;
- return
ret
;
+ return
0
;
}
static int quota_setinfo(struct super_block *sb, int type, void __user *addr)
}
static int quota_setinfo(struct super_block *sb, int type, void __user *addr)