unionfs: better handling when copying up permissions
authorErez_Zadok <ezk@cs.sunysb.edu>
Tue, 10 Jul 2007 00:19:08 +0000 (20:19 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Sat, 23 Nov 2013 01:06:37 +0000 (20:06 -0500)
commit22e39789b0a7591747208b38a1844b46f1bb79a0
tree7e96dfd5d1772ce6768c91d8bda063070721bac9
parent2749cf6c6a5d17c4ef890ef5930bb227cefa64af
unionfs: better handling when copying up permissions

When we copyup a file, directory, or symlink, we may be copying up from one
file system type to another.  The destination file system may not support
all of the features of the source file system, and the differences in
support may be minor.  For example jffs2 doesn't allow one to chmod a
symlink (and it returns a -EOPNOTSUPP).  So we ignore such harmless errors,
rather than propagating them up, which results in copyup errors and errors
returned back to users.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/copyup.c