vfs: Enable FS_IOC_FIEMAP and FIGETBSZ for all filetypes
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 13 May 2009 22:12:05 +0000 (18:12 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 13 May 2009 22:12:05 +0000 (18:12 -0400)
commit19ba0559f9ce104171ab16706893ce01f03ef116
treea5fc33a4ffb29de518d2625bc8943fb3771b1a36
parentabc8746eb91fb01e8d411896f80f7687c0d8372e
vfs: Enable FS_IOC_FIEMAP and FIGETBSZ for all filetypes

The fiemap and get_blk_size ioctls should be enabled even for
directories.  So move it outisde file_ioctl.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ioctl.c