summaryrefslogtreecommitdiffstats
path: root/sound/isa/sb/sb_common.c
diff options
context:
space:
mode:
authorTheodore Ts'o2018-12-19 20:07:58 +0100
committerTheodore Ts'o2018-12-19 20:07:58 +0100
commitfde872682e175743e0c3ef939c89e3c6008a1529 (patch)
tree86b22ce00c58b0e47c0059ae8f82d7ab244859f7 /sound/isa/sb/sb_common.c
parentext4: avoid declaring fs inconsistent due to invalid file handles (diff)
downloadkernel-qcow2-linux-fde872682e175743e0c3ef939c89e3c6008a1529.tar.gz
kernel-qcow2-linux-fde872682e175743e0c3ef939c89e3c6008a1529.tar.xz
kernel-qcow2-linux-fde872682e175743e0c3ef939c89e3c6008a1529.zip
ext4: force inode writes when nfsd calls commit_metadata()
Some time back, nfsd switched from calling vfs_fsync() to using a new commit_metadata() hook in export_operations(). If the file system did not provide a commit_metadata() hook, it fell back to using sync_inode_metadata(). Unfortunately doesn't work on all file systems. In particular, it doesn't work on ext4 due to how the inode gets journalled --- the VFS writeback code will not always call ext4_write_inode(). So we need to provide our own ext4_nfs_commit_metdata() method which calls ext4_write_inode() directly. Google-Bug-Id: 121195940 Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@kernel.org
Diffstat (limited to 'sound/isa/sb/sb_common.c')
0 files changed, 0 insertions, 0 deletions