Commit c007d952 authored by Christian Brauner's avatar Christian Brauner
Browse files

libfs: prepare to allow for non-immutable pidfd inodes

parent d718249b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2162,7 +2162,6 @@ static struct dentry *prepare_anon_dentry(struct dentry **stashed,

	/* Notice when this is changed. */
	WARN_ON_ONCE(!S_ISREG(inode->i_mode));
	WARN_ON_ONCE(!IS_IMMUTABLE(inode));

	dentry = d_alloc_anon(sb);
	if (!dentry) {