summaryrefslogtreecommitdiffstats
path: root/fs/coda/inode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-01-12 16:25:02 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2011-01-12 20:02:48 -0500
commit9501e4c48e1561443e1a16c2c9917ec6c63118a4 (patch)
treeb3b0a5117443153dd4b8703321862207887470ee /fs/coda/inode.c
parentb5c7d208ca48e7769aa38731665283790de49840 (diff)
downloadlinux-stable-9501e4c48e1561443e1a16c2c9917ec6c63118a4.tar.gz
linux-stable-9501e4c48e1561443e1a16c2c9917ec6c63118a4.tar.bz2
linux-stable-9501e4c48e1561443e1a16c2c9917ec6c63118a4.zip
switch coda
Coda ->d_revalidate() actually checks for root, ->d_delete() is irrelevant. So we can use the same d_op for all coda dentries Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/coda/inode.c')
-rw-r--r--fs/coda/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/coda/inode.c b/fs/coda/inode.c
index 50dc7d189f56..bd7fde2721a8 100644
--- a/fs/coda/inode.c
+++ b/fs/coda/inode.c
@@ -193,6 +193,7 @@ static int coda_fill_super(struct super_block *sb, void *data, int silent)
sb->s_blocksize_bits = 12;
sb->s_magic = CODA_SUPER_MAGIC;
sb->s_op = &coda_super_operations;
+ sb->s_d_op = &coda_dentry_operations;
sb->s_bdi = &vc->bdi;
/* get root fid from Venus: this needs the root inode */