Commit 8b64199a authored by Linus Torvalds's avatar Linus Torvalds
Browse files
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
parents e238e49b 55dd5b4d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ void udf_truncate_tail_extent(struct inode *inode)
	}
	/* This inode entry is in-memory only and thus we don't have to mark
	 * the inode dirty */
	if (ret == 0)
	if (ret >= 0)
		iinfo->i_lenExtents = inode->i_size;
	brelse(epos.bh);
}