|
@@ -2902,7 +2902,8 @@ static int ext4_da_write_begin(struct file *file, struct address_space *mapping,
|
|
|
|
|
|
index = pos >> PAGE_SHIFT;
|
|
|
|
|
|
- if (ext4_nonda_switch(inode->i_sb)) {
|
|
|
+ if (ext4_nonda_switch(inode->i_sb) ||
|
|
|
+ S_ISLNK(inode->i_mode)) {
|
|
|
*fsdata = (void *)FALL_BACK_TO_NONDELALLOC;
|
|
|
return ext4_write_begin(file, mapping, pos,
|
|
|
len, flags, pagep, fsdata);
|