callback_proc.c (f81483aaeb59da530b286fe5d081e1705eb5c886) | callback_proc.c (b05bf5c63b326ce1da84ef42498d8e0e292e694c) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * linux/fs/nfs/callback_proc.c 4 * 5 * Copyright (C) 2004 Trond Myklebust 6 * 7 * NFSv4 callback procedures 8 */ --- 344 unchanged lines hidden (view full) --- 353 /* FIXME we ignore errors, what should we do? */ 354 do_callback_layoutrecall(clp, &args); 355} 356 357__be32 nfs4_callback_devicenotify(void *argp, void *resp, 358 struct cb_process_state *cps) 359{ 360 struct cb_devicenotifyargs *args = argp; | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * linux/fs/nfs/callback_proc.c 4 * 5 * Copyright (C) 2004 Trond Myklebust 6 * 7 * NFSv4 callback procedures 8 */ --- 344 unchanged lines hidden (view full) --- 353 /* FIXME we ignore errors, what should we do? */ 354 do_callback_layoutrecall(clp, &args); 355} 356 357__be32 nfs4_callback_devicenotify(void *argp, void *resp, 358 struct cb_process_state *cps) 359{ 360 struct cb_devicenotifyargs *args = argp; |
361 int i; | 361 uint32_t i; |
362 __be32 res = 0; 363 struct nfs_client *clp = cps->clp; 364 struct nfs_server *server = NULL; 365 366 if (!clp) { 367 res = cpu_to_be32(NFS4ERR_OP_NOT_IN_SESSION); 368 goto out; 369 } --- 378 unchanged lines hidden --- | 362 __be32 res = 0; 363 struct nfs_client *clp = cps->clp; 364 struct nfs_server *server = NULL; 365 366 if (!clp) { 367 res = cpu_to_be32(NFS4ERR_OP_NOT_IN_SESSION); 368 goto out; 369 } --- 378 unchanged lines hidden --- |