Files
mirror_zfs/module/zfs
Chunwei Chen 987014903f Fix unlinked file cannot do xattr operations
Currently, doing things like fsetxattr(2) on an unlinked file will result in
ENODATA. There's two places that cause this: zfs_dirent_lock and zfs_zget.

The fix in zfs_dirent_lock is pretty straightforward. In zfs_zget though, we
need it to not return error when the zp is unlinked. This is a pretty big
change in behavior, but skimming through all the callers, I don't think this
change would cause any problem. Also there's nothing preventing z_unlinked
from being set after the z_lock mutex is dropped before but before zfs_zget
returns anyway.

The rest of the stuff is to make sure we don't log xattr stuff when owner is
unlinked.

Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
2016-11-04 10:46:40 -07:00
..
2016-11-02 12:14:45 -07:00
2014-08-01 14:28:05 -07:00
2015-01-16 14:41:26 -08:00
2016-01-08 15:08:19 -08:00
2015-01-16 14:41:26 -08:00
2016-11-02 12:14:45 -07:00
2016-11-02 12:14:45 -07:00
2016-11-01 10:20:24 -07:00
2016-10-31 16:23:56 -07:00
2016-06-28 13:47:02 -07:00
2016-10-08 14:57:56 -07:00
2013-12-18 16:46:35 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2016-11-02 12:14:45 -07:00
2015-12-22 10:21:33 -08:00
2016-04-21 09:49:25 -07:00
2016-06-21 09:58:37 -07:00
2010-08-31 13:41:58 -07:00
2016-08-11 11:23:49 -07:00
2016-10-14 11:00:47 -07:00
2016-01-08 15:08:19 -08:00
2016-11-02 12:14:45 -07:00
2013-10-31 14:58:04 -07:00
2016-11-02 12:14:45 -07:00
2010-08-31 13:41:58 -07:00
2015-09-04 16:08:14 -07:00
2016-09-21 18:09:00 -07:00
2016-09-21 18:09:00 -07:00
2016-11-02 12:14:45 -07:00
2016-11-02 12:14:45 -07:00
2016-05-31 16:04:26 -07:00
2016-11-02 12:14:45 -07:00