diff options
author | Xavier Hernandez <xhernandez@datalab.es> | 2015-05-21 18:45:12 +0200 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-05-27 03:24:38 -0700 |
commit | 5513144feb5b062b733d7514adf194429e31666f (patch) | |
tree | 7ec8117f5b44f4c8339947740920e9e610149c7c /xlators/cluster/ec/src/ec-common.c | |
parent | d37cb5aee7af8582d0343d2732c153226955945d (diff) |
posix: Do not update unmodified xattr in (f)xattrop
If a (f)xattrop is issued with a value that only contains 0's,
then we don't modify or create the extended attribute. This
is useful to avoid ctime modifications when the only purpose
of the xattrop was to get the current value.
Change-Id: Ia62494e9009962e683c8276783f671da17a8b03a
BUG: 1211123
Signed-off-by: Xavier Hernandez <xhernandez@datalab.es>
Reviewed-on: http://review.gluster.org/10886
Tested-by: NetBSD Build System
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-common.c')
0 files changed, 0 insertions, 0 deletions