From fa27f68cf3138b48d350a3e047c8686b3e792437 Mon Sep 17 00:00:00 2001 From: Erez_Zadok Date: Tue, 29 May 2007 22:09:59 -0400 Subject: [PATCH] code consistency: ensure that every #endif has a matching comment Signed-off-by: Erez Zadok --- fs/unionfs/copyup.c | 2 +- fs/unionfs/inode.c | 4 ++-- fs/unionfs/union.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/unionfs/copyup.c b/fs/unionfs/copyup.c index ab9f67ada70a..3b2a2ea48bc1 100644 --- a/fs/unionfs/copyup.c +++ b/fs/unionfs/copyup.c @@ -433,7 +433,7 @@ int copyup_dentry(struct inode *dir, struct dentry *dentry, int bstart, /* Selinux uses extended attributes for permissions. */ if ((err = copyup_xattrs(old_hidden_dentry, new_hidden_dentry))) goto out_unlink; -#endif +#endif /* CONFIG_UNION_FS_XATTR */ /* do not allow files getting deleted to be re-interposed */ if (!d_deleted(dentry)) diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index 85730cc05a46..a7ca35e88e42 100644 --- a/fs/unionfs/inode.c +++ b/fs/unionfs/inode.c @@ -1147,7 +1147,7 @@ struct inode_operations unionfs_dir_iops = { .getxattr = unionfs_getxattr, .removexattr = unionfs_removexattr, .listxattr = unionfs_listxattr, -#endif +#endif /* CONFIG_UNION_FS_XATTR */ }; struct inode_operations unionfs_main_iops = { @@ -1158,5 +1158,5 @@ struct inode_operations unionfs_main_iops = { .getxattr = unionfs_getxattr, .removexattr = unionfs_removexattr, .listxattr = unionfs_listxattr, -#endif +#endif /* CONFIG_UNION_FS_XATTR */ }; diff --git a/fs/unionfs/union.h b/fs/unionfs/union.h index 36a6faa45889..d2aadb8c4d01 100644 --- a/fs/unionfs/union.h +++ b/fs/unionfs/union.h @@ -426,7 +426,7 @@ static inline int is_valid_dentry(struct dentry *dentry) #ifndef DEFAULT_POLLMASK #define DEFAULT_POLLMASK (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM) -#endif +#endif /* not DEFAULT_POLLMASK */ /* * EXTERNALS: -- 2.43.0