]> git.neil.brown.name Git - LaFS.git/commit
use little-endian bit operations for inode usage map.
authorNeilBrown <neilb@suse.de>
Sat, 2 Oct 2010 01:46:04 +0000 (11:46 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 10 Oct 2010 23:33:54 +0000 (10:33 +1100)
commit82c0376c407c3e1c03d19fad1cf8e0f07b3b9e89
tree9db61867391f6d2cdad8dbe0b9dfc42518cb58f2
parent7de5ef56bb17c44b1e903dd75f01c396ad9f6ac9
use little-endian bit operations for inode usage map.

Must not use hos-endian here, so use generic 'le' operations.
Also protect all operations with i_mutex.  Even if the bitops
were atomic, we need the locking when punching a hole in the file,
or adding a new block.

Signed-off-by: NeilBrown <neilb@suse.de>
inode.c