]> git.baikalelectronics.ru Git - kernel.git/commit
introduce I_SYNC
authorJoern Engel <joern@wohnheim.fh-wedel.de>
Wed, 17 Oct 2007 06:30:44 +0000 (23:30 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:43:02 +0000 (08:43 -0700)
commitf7b9773f2ab6f7b05d3e21b101b91239cee800ef
tree5265eac8437e8ce517a62db8fe2bd99db5b7019b
parent1b73d51af76caaa625f59a6b50fefbc9a634479e
introduce I_SYNC

I_LOCK was used for several unrelated purposes, which caused deadlock
situations in certain filesystems as a side effect.  One of the purposes
now uses the new I_SYNC bit.

Also document the various bits and change their order from historical to
logical.

[bunk@stusta.de: make fs/inode.c:wake_up_inode() static]
Signed-off-by: Joern Engel <joern@wohnheim.fh-wedel.de>
Cc: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Cc: David Chinner <dgc@sgi.com>
Cc: Anton Altaparmakov <aia21@cam.ac.uk>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fs-writeback.c
fs/hugetlbfs/inode.c
fs/inode.c
fs/jfs/jfs_txnmgr.c
fs/xfs/linux-2.6/xfs_iops.c
include/linux/fs.h
include/linux/writeback.h
mm/page-writeback.c