Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753023AbbBSTqU (ORCPT ); Thu, 19 Feb 2015 14:46:20 -0500 Received: from mailrelay102.isp.belgacom.be ([195.238.20.129]:6274 "EHLO mailrelay102.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752606AbbBSTqR (ORCPT ); Thu, 19 Feb 2015 14:46:17 -0500 X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=+BsAzE94k0WpM8AtezFGaEXBVpw1lpSE4R7UN5Nfg4g= c=1 sm=2 a=Z4Rwk6OoAAAA:8 a=ZOnKa9JhuxYW5G277h8A:9 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CiCwCdPOZU/0jD9FFbgwaBLLAQAQEBAQEBBQF2l0wCgSJEAQEBAQEBfIQQAQVWIxBROR4ZiDMBwVeSOwEBAQcihgSJeQcWhBQFjymJY4pFiF0ig289MYJDAQEB From: Fabian Frederick To: linux-kernel@vger.kernel.org Cc: Fabian Frederick , Andrew Morton Subject: [PATCH 2/4 linux-next] fs/affs/affs.h: add mount option manipulation macros Date: Thu, 19 Feb 2015 20:46:06 +0100 Message-Id: <1424375168-11012-2-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1424375168-11012-1-git-send-email-fabf@skynet.be> References: <1424375168-11012-1-git-send-email-fabf@skynet.be> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1073 Lines: 31 add clear/set/test affs mount option macros. Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/affs/affs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fs/affs/affs.h b/fs/affs/affs.h index 35a855a..cffe837 100644 --- a/fs/affs/affs.h +++ b/fs/affs/affs.h @@ -119,6 +119,10 @@ struct affs_sb_info { #define AFFS_MOUNT_SF_VERBOSE 0x0800 /* Talk about fs when mounting */ #define AFFS_MOUNT_SF_NO_TRUNCATE 0x1000 /* Don't truncate filenames */ +#define affs_clear_opt(o, opt) (o &= ~AFFS_MOUNT_##opt) +#define affs_set_opt(o, opt) (o |= AFFS_MOUNT_##opt) +#define affs_test_opt(o, opt) ((o) & AFFS_MOUNT_##opt) + /* short cut to get to the affs specific sb data */ static inline struct affs_sb_info *AFFS_SB(struct super_block *sb) { -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/