GIT: unionfs2-2.6.27.y: code consistency: ensure that every #endif has a matching comment
Erez Zadok
ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:16:31 EDT 2010
commit 48844d0b0dff174bc536c1aad9a6e722dc2e7236
Author: Erez_Zadok <ezk at cs.sunysb.edu>
Date: Tue May 29 22:09:59 2007 -0400
code consistency: ensure that every #endif has a matching comment
Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>
diff --git a/fs/unionfs/copyup.c b/fs/unionfs/copyup.c
index ab9f67a..3b2a2ea 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 85730cc..a7ca35e 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 36a6faa..d2aadb8 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:
More information about the unionfs-cvs
mailing list