git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AFS: Fix possible null pointer dereference in afs_alloc_server()
[pandora-kernel.git]
/
fs
/
quota
/
quota_tree.h
diff --git
a/fs/quota/quota_tree.h
b/fs/quota/quota_tree.h
index
a1ab8db
..
ccc3e71
100644
(file)
--- a/
fs/quota/quota_tree.h
+++ b/
fs/quota/quota_tree.h
@@
-22,4
+22,10
@@
struct qt_disk_dqdbheader {
#define QT_TREEOFF 1 /* Offset of tree in file in blocks */
+#define q_warn(fmt, args...) \
+do { \
+ if (printk_ratelimit()) \
+ printk(fmt, ## args); \
+} while(0)
+
#endif /* _LINUX_QUOTAIO_TREE_H */