aboutsummaryrefslogtreecommitdiffstats
path: root/fs/coda/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/coda/dir.c')
-rw-r--r--fs/coda/dir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/coda/dir.c b/fs/coda/dir.c
index cd5532398c15..9d52897c1b6d 100644
--- a/fs/coda/dir.c
+++ b/fs/coda/dir.c
@@ -449,8 +449,7 @@ static int coda_venus_readdir(struct file *coda_file, void *buf,
449 struct file *host_file; 449 struct file *host_file;
450 struct dentry *de; 450 struct dentry *de;
451 struct venus_dirent *vdir; 451 struct venus_dirent *vdir;
452 unsigned long vdir_size = 452 unsigned long vdir_size = offsetof(struct venus_dirent, d_name);
453 (unsigned long)(&((struct venus_dirent *)0)->d_name);
454 unsigned int type; 453 unsigned int type;
455 struct qstr name; 454 struct qstr name;
456 ino_t ino; 455 ino_t ino;