commit e7ff6047da10622936c4bec8c435a36e55985ca8
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date:   Tue May 29 22:09:59 2007 -0400

    code consistency: ensure that every #endif has a matching comment
    
    Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>

diff --git a/fs/unionfs/copyup.c b/fs/unionfs/copyup.c
index 18eacad..520d7d8 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 b6aa79b..b038dea 100644
--- a/fs/unionfs/inode.c
+++ b/fs/unionfs/inode.c
@@ -872,7 +872,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 = {
@@ -883,5 +883,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 a150283..ff4f4ad 100644
--- a/fs/unionfs/union.h
+++ b/fs/unionfs/union.h
@@ -413,7 +413,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:
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to