diff options
| author | Vikas Gorur <vikas@gluster.com> | 2010-01-28 06:55:05 +0000 |
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2010-02-07 23:27:52 -0800 |
| commit | 03f487c9419fca50d378ce514b014450e46af113 (patch) | |
| tree | c8ca27607c609ed168e9f398f7cafa3ef6b3342c /libglusterfs/src/stack.h | |
| parent | 58b29b62980299bc70196703f36b7c7c30b72ba1 (diff) | |
storage/posix: Fix device number handling.
There are two fixes in this patch:
1) If the device number has changed, do a fresh stat on the export
directory and if it matches the device number of the file,
assume a remount happened and remember the new device number
as official (this helps automounted export volumes).
2) Don't log the "device number changed" message if it is due
to a stat on ".." (in posix_readdirp), as it could be because
".." leads us out of the exported volume.
Signed-off-by: Vikas Gorur <vikas@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 576 (crossing device (2056) + fuse LOOKUP error)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=576
Diffstat (limited to 'libglusterfs/src/stack.h')
0 files changed, 0 insertions, 0 deletions
