diff options
| author | 2017-10-04 16:21:19 +0200 | |
|---|---|---|
| committer | 2017-10-31 14:26:56 +0100 | |
| commit | 6862c44ec5ad0261968c3bc47d23cffb088b6836 (patch) | |
| tree | ee4f19ea910c9880dae8018d4c54c5006378df2b /kernel/locking/rtmutex.c | |
| parent | GFS2: Take inode off order_write list when setting jdata flag (diff) | |
| download | linux-dev-6862c44ec5ad0261968c3bc47d23cffb088b6836.tar.xz linux-dev-6862c44ec5ad0261968c3bc47d23cffb088b6836.zip | |
gfs2: Fix xattr fsync
Make sure that changing xattrs marks the corresponding inode dirty so
that a subsequent fsync will sync those changes to disk. We set
I_DIRTY_SYNC as well as I_DIRTY_DATASYNC so that both fsync and
fdatasync will sync xattr changes: xattrs can contain information
critical to how the data can be accessed, so we don't want fdatasync
to skip them.
Fixes xfstest generic/066.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Andrew Price <anprice@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'kernel/locking/rtmutex.c')
0 files changed, 0 insertions, 0 deletions
