remarkable-linux/fs/jfs
Nick Piggin 54af6233d1 JFS is missing a memory barrier
JFS is missing a memory barrier needed to close the critical section before
clearing the lock bit. Use lock bitops for this.

unlock_page() has a second barrier after clearing the lock, which is
required because it checks whether the waitqueue is active without locks.
Such a barrier is not required here because the waitqueue spinlock is
always taken (something to think about if performance is an issue).

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
2008-01-03 13:11:44 -06:00
..
acl.c
endian24.h
file.c sendfile: remove .sendfile from filesystems that use generic_file_sendfile() 2007-07-10 08:04:13 +02:00
inode.c fs: restore nobh 2007-10-16 09:42:58 -07:00
ioctl.c Forbid user to change file flags on quota files 2007-11-14 18:45:38 -08:00
jfs_acl.h
jfs_btree.h
jfs_debug.c JFS: use print_hex_dump() rather than private dump_mem() function 2007-06-06 16:30:17 -05:00
jfs_debug.h JFS: use print_hex_dump() rather than private dump_mem() function 2007-06-06 16:30:17 -05:00
jfs_dinode.h
jfs_dmap.c
jfs_dmap.h
jfs_dtree.c Fix misspellings of "system", "controller", "interrupt" and "necessary". 2007-10-19 23:10:43 +02:00
jfs_dtree.h
jfs_extent.c
jfs_extent.h
jfs_filsys.h
jfs_imap.c JFS: Update print_hex_dump() syntax 2007-06-13 10:17:50 -05:00
jfs_imap.h
jfs_incore.h more low-hanging fruits - kernel, fs, lib signedness 2007-10-14 12:41:52 -07:00
jfs_inode.c
jfs_inode.h jfs: new export ops 2007-10-22 08:13:20 -07:00
jfs_lock.h
jfs_logmgr.c JFS: Make sure special inode data is written after journal is flushed 2008-01-03 13:11:37 -06:00
jfs_logmgr.h more low-hanging fruits - kernel, fs, lib signedness 2007-10-14 12:41:52 -07:00
jfs_metapage.c JFS is missing a memory barrier 2008-01-03 13:11:44 -06:00
jfs_metapage.h
jfs_mount.c
jfs_superblock.h
jfs_txnmgr.c introduce I_SYNC 2007-10-17 08:43:02 -07:00
jfs_txnmgr.h
jfs_types.h
jfs_umount.c JFS: Make sure special inode data is written after journal is flushed 2008-01-03 13:11:37 -06:00
jfs_unicode.c
jfs_unicode.h
jfs_uniupr.c
jfs_xattr.h
jfs_xtree.c
jfs_xtree.h
Makefile
namei.c jfs: new export ops 2007-10-22 08:13:20 -07:00
resize.c
super.c exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
symlink.c
xattr.c Introduce is_owner_or_cap() to wrap CAP_FOWNER use with fsuid check 2007-07-17 12:00:03 -07:00