diff options
author | Christoph Hellwig <hch@lst.de> | 2011-01-14 13:07:30 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-17 02:25:30 -0500 |
commit | 64c23e86873ee410554d6d1c76b60da47025e96f (patch) | |
tree | b30c5ff8782ebfdec6956d7834f796731fd3a1d4 /fs/open.c | |
parent | eb745dbccce56f1bbe3f80b95ad2a325145171c2 (diff) | |
download | linux-64c23e86873ee410554d6d1c76b60da47025e96f.tar.bz2 |
make the feature checks in ->fallocate future proof
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>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions