Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3894
b: refs/heads/master
c: ec471dc
h: refs/heads/master
v: v3
  • Loading branch information
KAMBAROV, ZAUR authored and Linus Torvalds committed Jun 29, 2005
1 parent d4da658 commit 478dc3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9c101fd439dab60d6eba76afb35fd2696f42c63d
refs/heads/master: ec471dc484b8ca5352903ee28796b8b248313547
4 changes: 3 additions & 1 deletion trunk/fs/udf/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,16 @@ udf_find_entry(struct inode *dir, struct dentry *dentry,
char *nameptr;
uint8_t lfi;
uint16_t liu;
loff_t size = (udf_ext0_offset(dir) + dir->i_size) >> 2;
loff_t size;
kernel_lb_addr bloc, eloc;
uint32_t extoffset, elen, offset;
struct buffer_head *bh = NULL;

if (!dir)
return NULL;

size = (udf_ext0_offset(dir) + dir->i_size) >> 2;

f_pos = (udf_ext0_offset(dir) >> 2);

fibh->soffset = fibh->eoffset = (f_pos & ((dir->i_sb->s_blocksize - 1) >> 2)) << 2;
Expand Down

0 comments on commit 478dc3d

Please sign in to comment.