Skip to contentSkip to conversation

cifs: Fix comment as d_alloc_root() is replaced by d_make_root()

PATCH Applied Sedat Dilek 2 participants 3 messages Apr 28, 2012 – May 18, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cifs: Fix comment as d_alloc_root() is replaced by d_make_root()

For more details see <file: Documentation/filesystems/porting>.

---
 fs/cifs/cifsfs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/cifs/cifsfs.c +1 -1
index d342128..62843d9 100644
@@ -125,7 +125,7 @@ cifs_read_super(struct super_block *sb)
 		goto out_no_root;
 	}
 
-	/* do that *after* d_alloc_root() - we want NULL ->d_op for root here */
+	/* do that *after* d_make_root() - we want NULL ->d_op for root here */
 	if (cifs_sb_master_tcon(cifs_sb)->nocase)
 		sb->s_d_op = &cifs_ci_dentry_ops;
 	else
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 19 lines · Sedat Dilek

For more details see <file: Documentation/filesystems/porting>.

---
 fs/cifs/cifsfs.c |    2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
fs/cifs/cifsfs.c +1 -1
index d342128..62843d9 100644
@@ -125,7 +125,7 @@ cifs_read_super(struct super_block *sb)
                goto out_no_root;
        }
 
-       /* do that *after* d_alloc_root() - we want NULL ->d_op for root here */
+       /* do that *after* d_make_root() - we want NULL ->d_op for root here */
        if (cifs_sb_master_tcon(cifs_sb)->nocase)
                sb->s_d_op = &cifs_ci_dentry_ops;
Quoted 4 lines

       else
--
1.7.9.5

Ping!? (This patch is for 3.4-final.)

- Sedat -

Applied
#2 lore raw
In reply to Sedat Dilek

merged into for-next branch (for linux-next) of cifs-2.6.git

Quoted 23 lines · Sedat Dilek

For more details see <file: Documentation/filesystems/porting>.

---
 fs/cifs/cifsfs.c |    2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
fs/cifs/cifsfs.c +1 -1
index d342128..62843d9 100644
@@ -125,7 +125,7 @@ cifs_read_super(struct super_block *sb)
                goto out_no_root;
        }
 
-       /* do that *after* d_alloc_root() - we want NULL ->d_op for root here */
+       /* do that *after* d_make_root() - we want NULL ->d_op for root here */
        if (cifs_sb_master_tcon(cifs_sb)->nocase)
                sb->s_d_op = &cifs_ci_dentry_ops;

       else
--
1.7.9.5

Signature · 3 lines
Thanks,

Steve