mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
hfs/hfsplus: be*_add_cpu conversion
replace all: big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + expression_in_cpu_byteorder); with: beX_add_cpu(&big_endian_variable, expression_in_cpu_byteorder); generated with semantic patch Signed-off-by: Marcin Slusarz <[email protected]> Cc: Roman Zippel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6369a4abb4
commit
20c79e785a
2 changed files with 2 additions and 2 deletions
|
|
@ -215,7 +215,7 @@ int hfs_mdb_get(struct super_block *sb)
|
|||
attrib &= cpu_to_be16(~HFS_SB_ATTRIB_UNMNT);
|
||||
attrib |= cpu_to_be16(HFS_SB_ATTRIB_INCNSTNT);
|
||||
mdb->drAtrb = attrib;
|
||||
mdb->drWrCnt = cpu_to_be32(be32_to_cpu(mdb->drWrCnt) + 1);
|
||||
be32_add_cpu(&mdb->drWrCnt, 1);
|
||||
mdb->drLsMod = hfs_mtime();
|
||||
|
||||
mark_buffer_dirty(HFS_SB(sb)->mdb_bh);
|
||||
|
|
|
|||
Loading…
Reference in a new issue