Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76957
b: refs/heads/master
c: 4092d49
h: refs/heads/master
i:
  76955: 72a3c76
v: v3
  • Loading branch information
Marcin Slusarz authored and Mark Fasheh committed Jan 25, 2008
1 parent cd91e49 commit ae3cb67
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 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: 17104683d262fc6ab58488c4a3f0415012acc636
refs/heads/master: 4092d49f705aa19750c39758fa1be767e162c48d
5 changes: 0 additions & 5 deletions trunk/fs/ocfs2/endian.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ static inline void le64_add_cpu(__le64 *var, u64 val)
*var = cpu_to_le64(le64_to_cpu(*var) + val);
}

static inline void le32_and_cpu(__le32 *var, u32 val)
{
*var = cpu_to_le32(le32_to_cpu(*var) & val);
}

static inline void be32_add_cpu(__be32 *var, u32 val)
{
*var = cpu_to_be32(be32_to_cpu(*var) + val);
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/ocfs2/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ static int ocfs2_remove_inode(struct inode *inode,
}

di->i_dtime = cpu_to_le64(CURRENT_TIME.tv_sec);
le32_and_cpu(&di->i_flags, ~(OCFS2_VALID_FL | OCFS2_ORPHANED_FL));
di->i_flags &= cpu_to_le32(~(OCFS2_VALID_FL | OCFS2_ORPHANED_FL));

status = ocfs2_journal_dirty(handle, di_bh);
if (status < 0) {
Expand Down

0 comments on commit ae3cb67

Please sign in to comment.