Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
33c45458
Commit
33c45458
authored
Feb 28, 2004
by
Christoph Hellwig
Committed by
Nathan Scott
Feb 28, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Remove a superflous i_size_write
SGI Modid: xfs-linux:xfs-kern:166629a
parent
79cbe128
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
fs/xfs/linux/xfs_iops.c
fs/xfs/linux/xfs_iops.c
+0
-1
No files found.
fs/xfs/linux/xfs_iops.c
View file @
33c45458
...
@@ -541,7 +541,6 @@ linvfs_setattr(
...
@@ -541,7 +541,6 @@ linvfs_setattr(
if
(
error
)
if
(
error
)
return
(
-
error
);
/* Positive error up from XFS */
return
(
-
error
);
/* Positive error up from XFS */
if
(
ia_valid
&
ATTR_SIZE
)
{
if
(
ia_valid
&
ATTR_SIZE
)
{
i_size_write
(
inode
,
vattr
.
va_size
);
error
=
vmtruncate
(
inode
,
attr
->
ia_size
);
error
=
vmtruncate
(
inode
,
attr
->
ia_size
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment