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>
Wed, 20 May 2009 20:59:08 +0000 (16:59 -0400)
commita8546ffb23f68d3ecfcb37002181ef23a749c5d6
treeec4e9affa5356699e391618b0762756f58553f1e
parent701c3c46cbbde3ae9f0aefd110892ccfcd2f7acc
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