X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Flibfs.c;h=5294de1f40c41ba3c2dfcd992c725202967b0dce;hb=b2cd64153b94473f6bd82448a68b8e8c041676ea;hp=1247ee90253a96f954e1c0783066afe8889a9afc;hpb=1a1c9bb433af252767ee90d6394d287afa30cf8b;p=~andy%2Flinux diff --git a/fs/libfs.c b/fs/libfs.c index 1247ee90253..5294de1f40c 100644 --- a/fs/libfs.c +++ b/fs/libfs.c @@ -159,7 +159,10 @@ int dcache_readdir(struct file * filp, void * dirent, filldir_t filldir) continue; spin_unlock(&dcache_lock); - if (filldir(dirent, next->d_name.name, next->d_name.len, filp->f_pos, next->d_inode->i_ino, dt_type(next->d_inode)) < 0) + if (filldir(dirent, next->d_name.name, + next->d_name.len, filp->f_pos, + next->d_inode->i_ino, + dt_type(next->d_inode)) < 0) return 0; spin_lock(&dcache_lock); /* next is still alive */