Loading fs/open.c +1 −1 Original line number Diff line number Diff line Loading @@ -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); Loading Loading
fs/open.c +1 −1 Original line number Diff line number Diff line Loading @@ -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); Loading