The patch titled quota: add a convenience macro for filesystems has been added to the -mm tree. Its filename is quota-add-a-convenience-macro-for-filesystems.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: quota: add a convenience macro for filesystems From: Jan Kara <jack@xxxxxxx> Note that it cannot be an inline function because we don't have struct super_block prototype... Signed-off-by: Jan Kara <jack@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/quota.h | 3 +++ 1 file changed, 3 insertions(+) diff -puN include/linux/quota.h~quota-add-a-convenience-macro-for-filesystems include/linux/quota.h --- a/include/linux/quota.h~quota-add-a-convenience-macro-for-filesystems +++ a/include/linux/quota.h @@ -347,6 +347,9 @@ struct quota_info { ((type) == USRQUOTA ? (sb_dqopt(sb)->flags & DQUOT_USR_SUSPENDED) : \ (sb_dqopt(sb)->flags & DQUOT_GRP_SUSPENDED)) +#define sb_any_quota_suspended(sb) (sb_has_quota_suspended(sb, USRQUOTA) | \ + sb_has_quota_suspended(sb, GRPQUOTA)) + int register_quota_format(struct quota_format_type *fmt); void unregister_quota_format(struct quota_format_type *fmt); _ Patches currently in -mm which might be from jack@xxxxxxx are origin.patch isofs-fix-access-to-unallocated-memory-when-reading-corrupted-filesystem.patch quota-le_add_cpu-conversion.patch ext4-fix-mount-messages-when-quota-disabled.patch ext3-fix-synchronization-of-quota-files-in-journal=data-mode.patch ext4-fix-synchronization-of-quota-files-in-journal=data-mode.patch reiserfs-fix-synchronization-of-quota-files-in-journal=data-mode.patch ext3-fix-typos-in-messages-and-comments-journalled-journaled.patch ext4-fix-typos-in-messages-and-comments-journalled-journaled.patch reiserfs-fix-typos-in-messages-and-comments-journalled-journaled.patch quota-add-a-convenience-macro-for-filesystems.patch ext3-correct-mount-option-parsing-to-detect-when-quota-options-can-be-changed.patch ext4-correct-mount-option-parsing-to-detect-when-quota-options-can-be-changed.patch reiserfs-correct-mount-option-parsing-to-detect-when-quota-options-can-be-changed.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html