lock_may_write    973 fs/nfsd/vfs.c  		(!lock_may_write(file->f_path.dentry->d_inode, offset, cnt)))
lock_may_write   1039 include/linux/fs.h extern int lock_may_write(struct inode *, loff_t start, unsigned long count);