projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- patches.fixes/patch-2.6.11-rc1: 2.6.11-rc1.
[linux-flexiantxendom0-3.2.10.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;
- 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;
}