]> git.michaelhowe.org Git - packages/o/openafs.git/commit
linux: fsync on a directory should return 0, not EINVAL
authorGeoffrey Thomas <geofft@ldpreload.com>
Sun, 1 Jan 2012 00:51:29 +0000 (19:51 -0500)
committerDerrick Brashear <shadow@dementix.org>
Tue, 3 Jan 2012 18:38:22 +0000 (10:38 -0800)
commitbabc991c0196a1c04e94fca934d2de63f37c6144
tree4fc393dc79d46b1487cc92afdabf94d474298538
parent31b0156bbf2369e4388243d2c2a09cd00e6041a6
linux: fsync on a directory should return 0, not EINVAL

Directory writes are synchronous, so this is fine. There's a
mostly-convenient function in fs/libfs.c that returns 0 that we can use
to do what we want ("mostly" because it was renamed in 2.6.35).

FIXES 130425

Reviewed-on: http://gerrit.openafs.org/6491
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 267934d0e6910c8d8166a6e78f93c1bab40857b8)

Change-Id: Iaeb8a699673b6144c186b470f6d877fb54f1e319
Reviewed-on: http://gerrit.openafs.org/6493
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
acinclude.m4
src/afs/LINUX/osi_vnodeops.c