commit | 2a9becdd4dbed499815938308bdab9aae70dd561 | [log] [tgz] |
---|---|---|
author | Tony Luck <tony.luck@intel.com> | Fri Oct 14 10:56:42 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Oct 27 17:47:11 2016 +0200 |
tree | 4dd2519edf64288329c6f00b3c20f7dca9fa0593 | |
parent | 07d9a380680d1c0eb51ef87ff2eab5c994949e69 [diff] |
kernfs: Add noop_fsync to supported kernfs_file_fops If you edit a kernfs backed file with vi(1), you see an ugly error message when you write the file because vi tries to fsync(2) the file after writing, which fails. We have noop_fsync() for this, use it. Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>