make the feature checks in ->fallocate future proof
authorChristoph Hellwig <hch@lst.de>
Fri, 14 Jan 2011 12:07:30 +0000 (13:07 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 17 Jan 2011 07:25:30 +0000 (02:25 -0500)
Instead of various home grown checks that might need updates for new
flags just check for any bit outside the mask of the features supported
by the filesystem.  This makes the check future proof for any newly
added flag.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

No differences found