git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge ../linux-2.6
[pandora-kernel.git]
/
fs
/
freevxfs
/
vxfs_lookup.c
diff --git
a/fs/freevxfs/vxfs_lookup.c
b/fs/freevxfs/vxfs_lookup.c
index
29cce45
..
43886fa
100644
(file)
--- a/
fs/freevxfs/vxfs_lookup.c
+++ b/
fs/freevxfs/vxfs_lookup.c
@@
-246,6
+246,8
@@
vxfs_readdir(struct file *fp, void *retp, filldir_t filler)
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)