git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
linux
/
quotaops.h
diff --git
a/include/linux/quotaops.h
b/include/linux/quotaops.h
index
acc926c
..
e57baa8
100644
(file)
--- a/
include/linux/quotaops.h
+++ b/
include/linux/quotaops.h
@@
-177,7
+177,7
@@
static __inline__ int DQUOT_OFF(struct super_block *sb)
{
int ret = -ENOSYS;
{
int ret = -ENOSYS;
- if (sb->s_qcop && sb->s_qcop->quota_off)
+ if (sb
_any_quota_enabled(sb) && sb
->s_qcop && sb->s_qcop->quota_off)
ret = sb->s_qcop->quota_off(sb, -1);
return ret;
}
ret = sb->s_qcop->quota_off(sb, -1);
return ret;
}