Files
kernel_xiaomi_sm8250/include/linux
Chuck Lever 4f390c152b NFS: Fix double d_drop in nfs_instantiate() error path
If the LOOKUP or GETATTR in nfs_instantiate fail, nfs_instantiate will do a
d_drop before returning.  But some callers already do a d_drop in the case
of an error return.  Make certain we do only one d_drop in all error paths.

This issue was introduced because over time, the symlink proc API diverged
slightly from the create/mkdir/mknod proc API.  To prevent other coding
mistakes of this type, change the symlink proc API to be more like
create/mkdir/mknod and move the nfs_instantiate call into the symlink proc
routines so it is used in exactly the same way for create, mkdir, mknod,
and symlink.

Test plan:
Connectathon, all versions of NFS.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2006-09-22 23:24:52 -04:00
..
2006-08-03 16:56:02 -04:00
2006-09-07 15:57:12 +01:00
2006-09-11 13:32:30 -04:00
2006-09-22 23:24:30 -04:00
2006-07-03 19:44:51 -07:00
2006-07-01 09:56:03 -07:00
2006-08-27 11:01:32 -07:00
2006-07-28 21:02:00 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-08-21 10:02:50 +02:00
2006-07-31 13:28:39 -07:00
2006-07-03 15:27:00 -07:00
2006-07-14 21:53:56 -07:00
2006-09-05 17:20:21 -04:00
2006-07-14 21:53:55 -07:00
2006-06-29 16:58:06 -07:00
2006-08-27 11:01:32 -07:00
2006-07-12 16:05:48 -07:00
2006-08-19 17:44:31 -04:00
2006-06-28 15:54:27 -07:00
2006-07-03 19:48:25 -07:00
2006-06-30 11:25:38 -07:00
2006-09-01 11:39:08 -07:00
2006-06-30 11:25:37 -07:00
2006-06-30 18:25:18 +02:00
2006-07-03 23:30:54 +02:00
2006-08-06 08:57:47 -07:00
2006-07-10 13:24:25 -07:00