projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6d211d
)
xfs: xfs_dir_fsync() returns positive errno
author
Dave Chinner
<dchinner@redhat.com>
Wed, 14 May 2014 23:21:11 +0000
(09:21 +1000)
committer
Dave Chinner
<david@fromorbit.com>
Wed, 14 May 2014 23:21:11 +0000
(09:21 +1000)
And it should be negative.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/xfs_file.c
b/fs/xfs/xfs_file.c
index 951a2321ee010f35c1d3395c09d0830d74197cfd..f499e47d44d87f3951450a70c0855a1b42d31718 100644
(file)
--- a/
fs/xfs/xfs_file.c
+++ b/
fs/xfs/xfs_file.c
@@
-155,7
+155,7
@@
xfs_dir_fsync(
if (!lsn)
return 0;
- return _xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL);
+ return
-
_xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL);
}
STATIC int