commit | 8ae0b77811d97552b3b3c745e97de18849583bf7 | [log] [tgz] |
---|---|---|
author | Hugh Dickins <hugh@veritas.com> | Sat Jun 25 14:55:41 2005 -0700 |
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | Sat Jun 25 16:24:38 2005 -0700 |
tree | 7b249634919ce008c081d30ddecbdc278f6b0239 | |
parent | 6f9beccb95a47a15e446f64fbb7041dc6edce4d9 [diff] |
[PATCH] fix fsync(dir) return value for ram-based filesystems Any filesystem which is using simple_dir_operations will retunr -EINVAL for fsync() on a directory. Make it return zero instead. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>