tmp_suning_uos_patched/net
Aneesh Kumar K.V 0b1208b1aa fs/9p: destroy fid on failed remove
9P spec says:
"It is correct to consider remove to be a clunk with the
side effect of removing the file if permissions allow. "

So even if remove fails we need to destroy the fid.

Without this patch an rmdir on a directory with contents leave
the new cloned directory fid fid attached to fidlist. On umount
we dump the fids on the fidlist

~# rmdir /mnt2/test4/
rmdir: failed to remove `/mnt2/test4/': Directory not empty
~# umount /mnt2/
~# dmesg
[  228.474323] Found fid 3 not clunked

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
2010-08-02 14:28:36 -05:00
..
9p fs/9p: destroy fid on failed remove 2010-08-02 14:28:36 -05:00
802
8021q
appletalk
atm
ax25
bluetooth Bluetooth: Update sec_level/auth_type for already existing connections 2010-07-08 20:35:31 -03:00
bridge bridge: Partially disable netpoll support 2010-07-19 23:28:25 -07:00
caif
can
core net: dev_forward_skb should call nf_reset 2010-07-25 21:58:46 -07:00
dcb
dccp
decnet
dsa dsa: Fix Kconfig dependencies. 2010-07-12 20:03:42 -07:00
econet
ethernet
ieee802154
ipv4 tcp: fix crash in tcp_xmit_retransmit_queue 2010-07-19 12:43:49 -07:00
ipv6 ipv6: Don't add routes to ipv6 disabled interfaces. 2010-07-22 13:41:32 -07:00
ipx
irda
iucv
key
l2tp
lapb
llc
mac80211 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-07-26 13:26:09 -07:00
netfilter
netlabel
netlink
netrom
packet
phonet Phonet: fix skb leak in pipe endpoint accept() 2010-07-08 21:45:34 -07:00
rds
rfkill
rose
rxrpc
sched net sched: fix race in mirred device removal 2010-07-24 21:04:20 -07:00
sctp
sunrpc mm: add context argument to shrinker callback to remaining shrinkers 2010-07-21 15:33:01 +10:00
tipc
unix
wanrouter
wimax
wireless
x25
xfrm xfrm: do not assume that template resolving always returns xfrms 2010-07-14 14:16:48 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE