Repository navigation
Commit 4fd699a
vfs: lock_two_nondirectories: allow directory args
lock_two_nondirectories warned if either of its args was a directory.
Instead just ignore the directory args. This is needed for locking in
cross rename.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>1 parent 0b3974e commit 4fd699a
1 file changed
Lines changed: 12 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
944 | 944 | | |
945 | 945 | | |
946 | 946 | | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
947 | 951 | | |
948 | 952 | | |
949 | 953 | | |
950 | 954 | | |
951 | 955 | | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
959 | 960 | | |
| 961 | + | |
960 | 962 | | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | 963 | | |
966 | 964 | | |
967 | 965 | | |
| |||
972 | 970 | | |
973 | 971 | | |
974 | 972 | | |
975 | | - | |
976 | | - | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
977 | 976 | | |
978 | 977 | | |
979 | 978 | | |
| |||
0 commit comments