Skip to content

Commit

Permalink
cifs: Fix comment as d_alloc_root() is replaced by d_make_root()
Browse files Browse the repository at this point in the history
For more details see <file: Documentation/filesystems/porting>.

Signed-off-by: Sedat Dilek <[email protected]>
Signed-off-by: Steve French <[email protected]>
  • Loading branch information
Sedat Dilek authored and piastry committed May 23, 2012
1 parent 1080ef7 commit ea4b574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/cifs/cifsfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,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
Expand Down

0 comments on commit ea4b574

Please sign in to comment.