diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-08-19 18:20:32 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-08-19 18:20:32 +0200 |
| commit | e915bbe928c500d29db12f4a2d3fd31e4c6b07be (patch) | |
| tree | 9694f7588d6bb4a3443974ffc397ce6e80b90b1a /fs/attr.c | |
| parent | e2466b32e02a49318b99520c40b397062c65c84c (diff) | |
| parent | ffc82ed665314ccf141abc4710830f3f424d98ea (diff) | |
| download | linux-stable-linux-rolling-stable.tar.gz linux-stable-linux-rolling-stable.zip | |
Merge v7.1.9linux-rolling-stable
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/attr.c')
| -rw-r--r-- | fs/attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/attr.c b/fs/attr.c index ded221defae6..fc5817c9f4e8 100644 --- a/fs/attr.c +++ b/fs/attr.c @@ -176,7 +176,7 @@ int setattr_prepare(struct mnt_idmap *idmap, struct dentry *dentry, * covered by the open-time check because sys_truncate() takes a * path, not an open file. */ - if (IS_ENABLED(CONFIG_FS_VERITY) && IS_VERITY(inode)) + if (IS_VERITY(inode)) return -EPERM; error = inode_newsize_ok(inode, attr->ia_size); |
