Message ID | 1353403785-3489-3-git-send-email-wenqing.lz@taobao.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index aa473fa..7b50d12 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c @@ -815,9 +815,6 @@ xfs_file_fallocate( int cmd = XFS_IOC_RESVSP; int attr_flags = XFS_ATTR_NOLOCK; - if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE)) - return -EOPNOTSUPP; - bf.l_whence = 0; bf.l_start = offset; bf.l_len = len;