Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106357
b: refs/heads/master
c: c82e42d
h: refs/heads/master
i:
  106355: d734fca
v: v3
  • Loading branch information
Miklos Szeredi authored and Al Viro committed Jul 27, 2008
1 parent 79de6e7 commit 94b87e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e6305c43eda10ebfd2ad9e35d6e172ccc7bb3695
refs/heads/master: c82e42da8a6b2f3a85dc4d4278cb8238702f8f64
2 changes: 1 addition & 1 deletion trunk/fs/open.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ static long do_sys_truncate(const char __user * path, loff_t length)
goto mnt_drop_write_and_out;

error = -EPERM;
if (IS_IMMUTABLE(inode) || IS_APPEND(inode))
if (IS_APPEND(inode))
goto mnt_drop_write_and_out;

error = get_write_access(inode);
Expand Down

0 comments on commit 94b87e8

Please sign in to comment.