commit 12965bdf6ed5036e80d58b7847d03fe918b71b36
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 
18eacad641efbed7471f417aa64876f7756e7c56..520d7d8ce6b68d52c1455e3cc62d2897ae324282
 100644
--- a/fs/unionfs/copyup.c
+++ b/fs/unionfs/copyup.c
@@ -433,7 +433,7 @@ #ifdef CONFIG_UNION_FS_XATTR
        /* 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 
b6aa79b8b2acb5abdfc31db274d1e4a31bf49a98..b038dea66ffc64f4ed1624ac504eb3f324ce4d8f
 100644
--- a/fs/unionfs/inode.c
+++ b/fs/unionfs/inode.c
@@ -872,7 +872,7 @@ #ifdef CONFIG_UNION_FS_XATTR
        .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 @@ #ifdef CONFIG_UNION_FS_XATTR
        .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 
a1502836d6c6da0d2fe26732593bc32f460e3003..ff4f4ad6b7f642b4720a98720472da95c165e94a
 100644
--- a/fs/unionfs/union.h
+++ b/fs/unionfs/union.h
@@ -413,7 +413,7 @@ static inline int is_valid_dentry(struct
 
 #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