mm: move common segment checks to separate helper function
authorDmitriy Monakhov <dmonakhov@openvz.org>
Tue, 8 May 2007 07:23:02 +0000 (00:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:14:57 +0000 (11:14 -0700)
commit0ceb331433e8aad9c5f441a965d7c681f8b9046f
treefd3d679a4015242dd65f0721f52242ad47619910
parentb46b8f19c9cd435ecac4d9d12b39d78c137ecd66
mm: move common segment checks to separate helper function

[akpm@linux-foundation.org: cleanup]
Signed-off-by: Monakhov Dmitriy <dmonakhov@openvz.org>
Cc: Christoph Hellwig <hch@lst.de>
Acked-by: Anton Altaparmakov <aia21@cam.ac.uk>
Acked-by: David Chinner <dgc@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ntfs/file.c
fs/xfs/linux-2.6/xfs_lrw.c
include/linux/fs.h
mm/filemap.c