Skip to content

Commit 8b64199

Browse files
committed
Merge tag 'udf_for_v6.15-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull UDF fix from Jan Kara: "Fix a bug in UDF inode eviction leading to spewing pointless error messages" * tag 'udf_for_v6.15-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: udf: Make sure i_lenExtents is uptodate on inode eviction
2 parents e238e49 + 55dd5b4 commit 8b64199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/udf/truncate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ void udf_truncate_tail_extent(struct inode *inode)
115115
}
116116
/* This inode entry is in-memory only and thus we don't have to mark
117117
* the inode dirty */
118-
if (ret == 0)
118+
if (ret >= 0)
119119
iinfo->i_lenExtents = inode->i_size;
120120
brelse(epos.bh);
121121
}

0 commit comments

Comments
 (0)