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>
Thu, 16 Jun 2011 22:42:38 +0000 (15:42 -0700)
commit6be6d4f15f07ef65054dbf4455a9d7e6860bea0b
treeebabb858abed3733f8c2afe2ff87910a12ac5a51
parent2dc0d792bfc183bb311e65c98034d84065b304f6
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