Bug 603707
Summary: | cifs: busy file renames across directories should fail with error | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jeff Layton <jlayton> |
Component: | kernel | Assignee: | Jeff Layton <jlayton> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | yanfu,wang <yanwang> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.0 | CC: | ddumas, jlayton, rwheeler, sprabhu, steved, syeghiay, tao, yanwang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 603706 | Environment: | |
Last Closed: | 2010-11-11 15:53:38 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 591938, 603706 |
Comment 1
RHEL Program Management
2010-06-14 12:43:01 UTC
Patch(es) available on kernel-2.6.32-42.el6 I verified on rhel6-snaphshot13 but still got 'Text file busy' error using the reproducer: [root@amd-dinar-03 test]# uname -a Linux amd-dinar-03.lab.bos.redhat.com 2.6.32-70.el6.i686 #1 SMP Wed Aug 25 10:10:17 EDT 2010 i686 i686 i386 GNU/Linux win2k3 share dir is temp: [root@amd-dinar-03 test]# mount ... //10.66.65.54/temp/ on /mnt/test type cifs (rw,mand) [root@amd-dinar-03 test]# ls -l total 0 -rwxr-xr-x. 1 root root 3890 Jan 24 2011 aa drwxr-xr-x. 1 root root 0 Jan 24 2011 done [root@amd-dinar-03 test]# mv aa done/bb mv: cannot move `aa' to `done/bb': Text file busy That's expected. The error is expected when the file is open and you try to rename it across directories. The bug was that the file would be renamed but would stay in the original directory. This works as we expect it to work. Can we please sync up on the test case and make sure that this is resolved? Thanks! Based on above comments, moving back to on-qa verified on i386 and x86_64 on rhel6-snaphshot13, the results same as comment #6 and comment #7. Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |