diff options
Diffstat (limited to 'fs/nfsd/vfs.c')
-rw-r--r-- | fs/nfsd/vfs.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index b5e077a6e7d4..45c04979e7b3 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c | |||
@@ -1249,12 +1249,6 @@ out_nfserr: | |||
1249 | 1249 | ||
1250 | #ifdef CONFIG_NFSD_V3 | 1250 | #ifdef CONFIG_NFSD_V3 |
1251 | 1251 | ||
1252 | static inline int nfsd_create_is_exclusive(int createmode) | ||
1253 | { | ||
1254 | return createmode == NFS3_CREATE_EXCLUSIVE | ||
1255 | || createmode == NFS4_CREATE_EXCLUSIVE4_1; | ||
1256 | } | ||
1257 | |||
1258 | /* | 1252 | /* |
1259 | * NFSv3 and NFSv4 version of nfsd_create | 1253 | * NFSv3 and NFSv4 version of nfsd_create |
1260 | */ | 1254 | */ |