diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2007-12-25 09:52:59 -0500 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2008-01-25 18:05:46 -0500 |
commit | 4092d49f705aa19750c39758fa1be767e162c48d (patch) | |
tree | 190a48395331e62d0d1f5222b3a8e763ef70e18e /fs/ocfs2/inode.c | |
parent | 17104683d262fc6ab58488c4a3f0415012acc636 (diff) |
ocfs2: convert byte order of constant instead of variable
Convert byte order of constant instead of variable it will be done at
compile time vs run time. Remove unused le32_and_cpu.
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/inode.c')
-rw-r--r-- | fs/ocfs2/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c index 5e19c119183d..7e9e4c79aec7 100644 --- a/fs/ocfs2/inode.c +++ b/fs/ocfs2/inode.c | |||
@@ -620,7 +620,7 @@ static int ocfs2_remove_inode(struct inode *inode, | |||
620 | } | 620 | } |
621 | 621 | ||
622 | di->i_dtime = cpu_to_le64(CURRENT_TIME.tv_sec); | 622 | di->i_dtime = cpu_to_le64(CURRENT_TIME.tv_sec); |
623 | le32_and_cpu(&di->i_flags, ~(OCFS2_VALID_FL | OCFS2_ORPHANED_FL)); | 623 | di->i_flags &= cpu_to_le32(~(OCFS2_VALID_FL | OCFS2_ORPHANED_FL)); |
624 | 624 | ||
625 | status = ocfs2_journal_dirty(handle, di_bh); | 625 | status = ocfs2_journal_dirty(handle, di_bh); |
626 | if (status < 0) { | 626 | if (status < 0) { |