commit | 3d2ae5ea056a386e347380708bae310ef2812bf3 | [log] [tgz] |
---|---|---|
author | Peng Haitao <penght@cn.fujitsu.com> | Tue Jan 10 11:34:14 2012 +0800 |
committer | Caspar Zhang <caspar@casparzhang.com> | Tue Jan 10 12:21:24 2012 +0800 |
tree | 733bc7e92db878d44f4479f8d89d98a2a0441127 | |
parent | 5de138b032f73932420db58cd262cb06b2b2446c [diff] |
fix getxattr02 case with errno EPERM Before kernel 3.0.0, getxattr02 will set errno with 'EPERM' when the file is not a regular file and directory. Refer to commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=55b23bde19c08f14127a27d461a4e079942c7258 Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Acked-by: Mike Frysinger <vapier@gentoo.org> Reviewed-by: Eryu Guan <eguan@redhat.com>