Commit a8c0ec1b authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

vfs: add missing xattr related methods to ForwardingFileSystem

the decorator must forward all methods to avoid default behavior.

add missing xattr related methods ForwardingFileSystem

the methods of decorated class is used instead of default behaviour.

Acked-by: Albert Rossi
Target: master, 0.20
parent 95db0e59
* Copyright (c) 2009 - 2017 Deutsches Elektronen-Synchroton,
* Copyright (c) 2009 - 2020 Deutsches Elektronen-Synchroton,
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY
* This library is free software; you can redistribute it and/or modify
......@@ -160,4 +160,23 @@ public abstract class ForwardingFileSystem implements VirtualFileSystem {
return delegate().directoryVerifier(inode);
public byte[] getXattr(Inode inode, String attr) throws IOException {
return delegate().getXattr(inode, attr);
public void setXattr(Inode inode, String attr, byte[] value, SetXattrMode mode) throws IOException {
delegate().setXattr(inode, attr, value, mode);
public String[] listXattrs(Inode inode) throws IOException {
return delegate().listXattrs(inode);
public void removeXattr(Inode inode, String attr) throws IOException {
delegate().removeXattr(inode, attr);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment