Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.2.0, Lustre 2.3.0
-
None
-
# uname -r
2.6.32-220.el6.l22.x86_64
# cat /proc/fs/lustre/version
lustre: 2.2.0
kernel: patchless_client
build: 2.2.0--PRISTINE-2.6.32-220.13.1.el6.l22.x86_64
-
3
-
4628
Description
llapi_path2fid() compares errno to EINVAL rather than ENOTTY to test for failures due the file being block or character special.
- /usr/lib64/lustre/tests/llmount.sh
- cd /mnt/lustre
- mknod null c 1 3
- stat null
File: `null'
Size: 0 Blocks: 0 IO Block: 4096 character special file
Device: 2c54f966h/743766374d Inode: 144115238810157090 Links: 1 Device type: 1,3
Access: (0644/crw-r-r-) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-04-27 09:14:40.000000000 -0500
Modify: 2012-04-27 09:14:40.000000000 -0500
Change: 2012-04-27 09:14:40.000000000 -0500 - lfs path2fid null
can't get fid for null: Inappropriate ioctl for device