lkml.org 
[lkml]   [2005]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: why does fsync() on a tmpfs directory give EINVAL?
Hugh Dickins wrote:

> No need to check the list: any filesystem using simple_dir_operations
> is using dcache_readdir, which implies there's no storage to be synced.
> And we all agree that success is a more helpful retval than -EINVAL
> when there's nothing for fsync to do. Here's a patch if you haven't
> done it already....

Thanks for the input. I wasn't positive the change would be benign, so
I was waiting for the discussion to resolve itself.

Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-17 16:32    [from the cache]
©2003-2011 Jasper Spaans