Commit f772c4a6a320ec25d94ba951881474eeef1b7f48

Authored by Al Viro
1 parent a129880daf

switch hostfs

->d_delete() doesn't matter for s_root anyway

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

fs/hostfs/hostfs_kern.c
... ... @@ -612,7 +612,6 @@
612 612 goto out_put;
613 613  
614 614 d_add(dentry, inode);
615   - d_set_d_op(dentry, &hostfs_dentry_ops);
616 615 return NULL;
617 616  
618 617 out_put:
... ... @@ -922,6 +921,7 @@
922 921 sb->s_blocksize_bits = 10;
923 922 sb->s_magic = HOSTFS_SUPER_MAGIC;
924 923 sb->s_op = &hostfs_sbops;
  924 + sb->s_d_op = &hostfs_dentry_ops;
925 925 sb->s_maxbytes = MAX_LFS_FILESIZE;
926 926  
927 927 /* NULL is printed as <NULL> by sprintf: avoid that. */