]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
VFS: factor out three helpers for FIBMAP/FIONBIO/FIOASYNC file ioctls
authorErez Zadok <ezk@cs.sunysb.edu>
Thu, 7 Feb 2008 08:13:25 +0000 (00:13 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:16 +0000 (08:42 -0800)
commitaa81a7c7120ad9a4f8b677b7c204bb12b2b0e145
tree751ea340c028884f3a8046be11738d95daada227
parentdeb21db7788b97a2bccdefe605433ef97f482689
VFS: factor out three helpers for FIBMAP/FIONBIO/FIOASYNC file ioctls

Factor out file-specific ioctl code into smaller helper functions, away from
file_ioctl().  This helps code readability and also reduces indentation inside
case statements.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ioctl.c