]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/xfs/xfs_file.c
xfs: always hold the iolock when calling xfs_change_file_space
[karo-tx-linux.git] / fs / xfs / xfs_file.c
index c9179820c01bc2d959ef77e21e91077f7a15c262..116300f3b1d45b926268a83781b8983a6ee32934 100644 (file)
@@ -816,7 +816,7 @@ xfs_file_fallocate(
        xfs_flock64_t   bf;
        xfs_inode_t     *ip = XFS_I(inode);
        int             cmd = XFS_IOC_RESVSP;
-       int             attr_flags = XFS_ATTR_NOLOCK;
+       int             attr_flags = 0;
 
        if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE))
                return -EOPNOTSUPP;