VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Harvey Harrison <harvey.harrison@gmail.com> 2009-03-31 15:23:52 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2009-04-01 08:59:18 -0700 commit: 63cd885426872254e82dac2d9e13ea4f720c21dc parent: 311d07611e8b354cc1ee6546e4c574c01111adc8
Commit Summary:
ntfs: remove private wrapper of endian helpers
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/ntfs/mft.c b/fs/ntfs/mft.c
index 17d32ca6bc35..23bf68453d7d 100644
--- a/fs/ntfs/mft.c
+++ b/fs/ntfs/mft.c
@@ -2839,7 +2839,7 @@ int ntfs_extent_mft_record_free(ntfs_inode *ni, MFT_RECORD *m)
 	 */
 
 	/* Mark the mft record as not in use. */
-	m->flags &= const_cpu_to_le16(~const_le16_to_cpu(MFT_RECORD_IN_USE));
+	m->flags &= ~MFT_RECORD_IN_USE;
 
 	/* Increment the sequence number, skipping zero, if it is not zero. */
 	old_seq_no = m->sequence_number;