summaryrefslogtreecommitdiffstats
path: root/argp-standalone/strchrnul.c
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2010-01-28 06:55:05 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-01-28 06:11:28 -0800
commite5a43ac65f60b7c4163eba6d7e15b60c54879813 (patch)
tree51527bdd3558d33266f5bd3e98c380fae3b4a647 /argp-standalone/strchrnul.c
parent5a574d96c392b19a92bb925b4b4dd268393831ea (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 'argp-standalone/strchrnul.c')
0 files changed, 0 insertions, 0 deletions