Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58594
b: refs/heads/master
c: 3ebf449
h: refs/heads/master
v: v3
  • Loading branch information
Steven Whitehouse committed Jul 10, 2007
1 parent d8794b0 commit 8b581b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a0a24741cac414aba5918e9939afafa70c37f952
refs/heads/master: 3ebf44902f77537b5784eb5059c2b78d8b5a920a
2 changes: 2 additions & 0 deletions trunk/fs/gfs2/ops_export.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

#define GFS2_SMALL_FH_SIZE 4
#define GFS2_LARGE_FH_SIZE 8
#define GFS2_OLD_FH_SIZE 10

static struct dentry *gfs2_decode_fh(struct super_block *sb,
__u32 *p,
Expand All @@ -44,6 +45,7 @@ static struct dentry *gfs2_decode_fh(struct super_block *sb,

switch (fh_len) {
case GFS2_LARGE_FH_SIZE:
case GFS2_OLD_FH_SIZE:
parent.no_formal_ino = ((u64)be32_to_cpu(fh[4])) << 32;
parent.no_formal_ino |= be32_to_cpu(fh[5]);
parent.no_addr = ((u64)be32_to_cpu(fh[6])) << 32;
Expand Down

0 comments on commit 8b581b1

Please sign in to comment.