]> Git Repo - linux.git/blobdiff - fs/ext4/indirect.c
ext4: limit the length of per-inode prealloc list
[linux.git] / fs / ext4 / indirect.c
index 433ca8415c5abc6c5eb490affa9f1d9fd19f1efd..80c9f33800bea2c3911158889edb929f3c86da4c 100644 (file)
@@ -696,7 +696,7 @@ static int ext4_ind_trunc_restart_fn(handle_t *handle, struct inode *inode,
         * i_mutex. So we can safely drop the i_data_sem here.
         */
        BUG_ON(EXT4_JOURNAL(inode) == NULL);
-       ext4_discard_preallocations(inode);
+       ext4_discard_preallocations(inode, 0);
        up_write(&EXT4_I(inode)->i_data_sem);
        *dropped = 1;
        return 0;
This page took 0.025556 seconds and 4 git commands to generate.