Unionfs: use UNIONFS_NAME macro
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 18 Nov 2007 04:12:13 +0000 (23:12 -0500)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:10 +0000 (19:03 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/debug.c
fs/unionfs/main.c

index b103eb959f9687875ae3af3f908b4c1827865477..da82a479b2977f35c62e1765824dd9f73628249a 100644 (file)
@@ -428,7 +428,7 @@ void __unionfs_check_nd(const struct nameidata *nd,
                file = nd->intent.open.file;
                if (unlikely(file->f_path.dentry &&
                             strcmp(file->f_dentry->d_sb->s_type->name,
-                                   "unionfs"))) {
+                                   UNIONFS_NAME))) {
                        PRINT_CALLER(fname, fxn, line);
                        printk(" CND1: lower_file of type %s\n",
                               file->f_path.dentry->d_sb->s_type->name);
index 035bc512f3d174a810dc39e90df52a105dd950d6..17944d6adfdee07045e5ae66772b3cd20737fcfd 100644 (file)
@@ -832,7 +832,7 @@ static int unionfs_get_sb(struct file_system_type *fs_type,
 
 static struct file_system_type unionfs_fs_type = {
        .owner          = THIS_MODULE,
-       .name           = "unionfs",
+       .name           = UNIONFS_NAME,
        .get_sb         = unionfs_get_sb,
        .kill_sb        = generic_shutdown_super,
        .fs_flags       = FS_REVAL_DOT,