.lookup = vxfs_lookup,
};
-const struct file_operations vxfs_dir_operations = {
+struct file_operations vxfs_dir_operations = {
.readdir = vxfs_readdir,
};
u_long page, npages, block, pblocks, nblocks, offset;
loff_t pos;
+ lock_kernel();
+
switch ((long)fp->f_pos) {
case 0:
if (filler(retp, ".", 1, fp->f_pos, ip->i_ino, DT_DIR) < 0)