1 From: Markus Klotzbuecher <mk@creamnet.de>
2 Date: Tue, 20 Jun 2006 14:50:26 +0000 (+0200)
3 Subject: Removed some dead code (mini_fo_lock) that caused compiling to fail on
4 X-Git-Url: http://www.denx.de/cgi-bin/gitweb.cgi?p=mini_fo.git;a=commitdiff;h=240ede43ad8342334494d36d6d762666f75a1c8e
6 Removed some dead code (mini_fo_lock) that caused compiling to fail on
12 @@ -668,35 +668,6 @@ mini_fo_fasync(int fd, file_t *file, int
13 return (err1 || err2);
18 -mini_fo_lock(file_t *file, int cmd, struct file_lock *fl)
21 - file_t *hidden_file = NULL;
23 - if(!check_mini_fo_file(file))
26 - /* which file shall we lock? */
28 - hidden_file = ftohf2(file);
30 - hidden_file = ftohf(file);
32 - if (hidden_file->f_op->lock) {
33 - fl->fl_file = hidden_file;
34 - err = hidden_file->f_op->lock(hidden_file, F_GETLK, fl);
37 - if(posix_test_lock(hidden_file, fl))
45 struct file_operations mini_fo_dir_fops =
47 llseek: mini_fo_llseek,